Searched refs:isKeyword (Results 1 – 17 of 17) 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()
371 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo384 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()392 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
278 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
4619 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument4634 if (isKeyword) TC.makeKeyword(); in addName()5417 if (ED == 0 && Result.isKeyword()) in CorrectTypo()5431 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()5453 if (isKeyword()) in addCorrectionDecl()5479 if (candidate.isKeyword()) in ValidateCandidate()5520 return candidate.isKeyword(); in ValidateCandidate()5754 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
2208 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()2218 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
2113 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()2274 candidate.isKeyword("super"); in ValidateCandidate()2358 if (Corrected.isKeyword()) { in getObjCMessageKind()
682 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()698 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
127 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()718 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()1016 if (Corrected.isKeyword()) in ClassifyName()
456 bool isKeyword(const LangOptions &LangOpts) const;
1187 if (II->isKeyword(LangOpts)) in highlightLines()
987 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
231 Tok.getIdentifierInfo()->isKeyword(P.getLangOpts())) in isTokenIdentifierOrKeyword()
590 return candidate.isKeyword(); in ValidateCandidate()
7584 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()
199 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()2907 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
114 return getIdentifierInfo()->isKeyword(LangOpts); in isSimpleTypeSpecifier()