Skip to content

Commit 55350f0

Browse files
committed
Update comment; NFC
1 parent 3b0732e commit 55350f0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

clang/lib/Basic/IdentifierTable.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,7 @@ bool IdentifierInfo::isNameKeyword(const LangOptions &LangOpts) const {
368368
// tests if the identifier is a keyword token in C++ mode and then isn't a
369369
// keyword token in C modes. In our case, if it was a keyword, we wouldn't
370370
// have gotten the identifier for it anyway, so that function will always
371-
// return false for us. Instead, check against the token definitions directly.
372-
//
373-
// FIXME: It would be nice to handle things like char8_t and wchar_t here as
374-
// well, but those require looking at the currently selected language options
375-
// which would make this interface confusing with isCPlusPlusKeyword.
371+
// return false for us. Instead, check against the identifier name directly.
376372
switch (getNameKwStatus(LangOpts, getName())) {
377373
case KS_Enabled:
378374
case KS_Extension:

0 commit comments

Comments
 (0)