File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff 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:
You can’t perform that action at this time.
0 commit comments