| /src/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | TypoCorrection.h | 202 bool isKeyword() const { in isKeyword() function 208 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() function 209 return isKeyword() && getCorrectionAsIdentifierInfo()->isStr(Str); in isKeyword() 233 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin(); in begin() 241 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin(); in begin() 262 return (!isKeyword() && !CorrectionDecls.empty()); in hasCorrectionDecl()
|
| H A D | SemaInternal.h | 278 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
|
| /src/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/ |
| H A D | ClangHighlighter.h | 33 bool isKeyword(llvm::StringRef token) const;
|
| H A D | ClangHighlighter.cpp | 25 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword() function in ClangHighlighter 68 else if (highlighter.isKeyword(tok_str)) in determineClangStyle()
|
| /src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 344 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo 357 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword() 365 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 4525 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument 4540 if (isKeyword) TC.makeKeyword(); in addName() 5325 if (ED == 0 && Result.isKeyword()) in CorrectTypo() 5339 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo() 5395 if (isKeyword()) in addCorrectionDecl() 5421 if (candidate.isKeyword()) in ValidateCandidate() 5462 return candidate.isKeyword(); in ValidateCandidate() 5696 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
|
| H A D | SemaCast.cpp | 2176 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast() 2186 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
|
| H A D | SemaExprObjC.cpp | 2124 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr() 2285 candidate.isKeyword("super"); in ValidateCandidate() 2369 if (Corrected.isKeyword()) { in getObjCMessageKind()
|
| H A D | SemaExprMember.cpp | 749 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
|
| H A D | SemaTemplate.cpp | 682 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName() 697 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
|
| H A D | SemaDecl.cpp | 123 return !WantClassName && candidate.isKeyword(); in ValidateCandidate() 701 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName() 999 if (Corrected.isKeyword()) in ClassifyName()
|
| H A D | SemaExpr.cpp | 2785 if (BestTC.isKeyword()) { in ActOnIdExpression()
|
| /src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | IdentifierTable.h | 449 bool isKeyword(const LangOptions &LangOpts) const;
|
| /src/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseOpenACC.cpp | 226 Tok.getIdentifierInfo()->isKeyword(P.getLangOpts())) in isTokenIdentifierOrKeyword()
|
| H A D | ParseTentative.cpp | 1207 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
|
| H A D | ParseExpr.cpp | 734 return candidate.isKeyword(); in ValidateCandidate()
|
| H A D | ParseDecl.cpp | 7985 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()
|
| /src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 1190 if (II->isKeyword(LangOpts)) in highlightLines()
|
| /src/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPDirectives.cpp | 185 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef() 2873 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
|
| H A D | Lexer.cpp | 115 return getIdentifierInfo()->isKeyword(LangOpts); in isSimpleTypeSpecifier()
|