Skip to content

Commit af4a46f

Browse files
committed
fixup: Move getKeywordStatus's comment to the header
1 parent 2c7391f commit af4a46f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/Basic/IdentifierTable.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ enum KeywordStatus {
9292
KS_Enabled, // Enabled
9393
};
9494

95+
/// Translates flags as specified in TokenKinds.def into keyword status
96+
/// in the given language standard.
9597
KeywordStatus getKeywordStatus(const LangOptions &LangOpts, unsigned Flags);
9698

9799
enum class ReservedIdentifierStatus {

clang/lib/Basic/IdentifierTable.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,6 @@ static KeywordStatus getKeywordStatusHelper(const LangOptions &LangOpts,
169169
}
170170
}
171171

172-
/// Translates flags as specified in TokenKinds.def into keyword status
173-
/// in the given language standard.
174172
KeywordStatus clang::getKeywordStatus(const LangOptions &LangOpts,
175173
unsigned Flags) {
176174
// KEYALL means always enabled, so special case this one.

0 commit comments

Comments
 (0)