Searched refs:isKeyword (Results 1 – 19 of 19) sorted by relevance
33 bool isKeyword(llvm::StringRef token) const;
25 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword() function in ClangHighlighter68 else if (highlighter.isKeyword(tok_str)) in determineClangStyle()
344 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo357 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()365 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
278 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
4525 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument4540 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()
2176 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()2186 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
2124 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()2285 candidate.isKeyword("super"); in ValidateCandidate()2369 if (Corrected.isKeyword()) { in getObjCMessageKind()
749 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
682 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()697 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
123 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()701 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()999 if (Corrected.isKeyword()) in ClassifyName()
2785 if (BestTC.isKeyword()) { in ActOnIdExpression()
449 bool isKeyword(const LangOptions &LangOpts) const;
226 Tok.getIdentifierInfo()->isKeyword(P.getLangOpts())) in isTokenIdentifierOrKeyword()
1207 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
734 return candidate.isKeyword(); in ValidateCandidate()
7985 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()
1190 if (II->isKeyword(LangOpts)) in highlightLines()
185 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()2873 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
115 return getIdentifierInfo()->isKeyword(LangOpts); in isSimpleTypeSpecifier()