Searched refs:isKeyword (Results 1 – 17 of 17) sorted by relevance
202 bool isKeyword() const { in isKeyword() function208 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() function209 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()
282 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
32 bool isKeyword(llvm::StringRef token) const;
24 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword() function in ClangHighlighter67 else if (highlighter.isKeyword(tok_str)) in determineClangStyle()
255 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo268 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()276 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
4263 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument4278 if (isKeyword) TC.makeKeyword(); in addName()5079 if (ED == 0 && Result.isKeyword()) in CorrectTypo()5093 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()5187 if (isKeyword()) in addCorrectionDecl()5213 if (candidate.isKeyword()) in ValidateCandidate()5254 return candidate.isKeyword(); in ValidateCandidate()5481 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
2118 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()2128 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
2113 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()2274 candidate.isKeyword("super"); in ValidateCandidate()2359 if (Corrected.isKeyword()) { in getObjCMessageKind()
706 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
677 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()692 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
108 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()688 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()996 if (Corrected.isKeyword()) in ClassifyName()
2574 if (BestTC.isKeyword()) { in ActOnIdExpression()
301 bool isKeyword(const LangOptions &LangOpts) const; in alignas()
176 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()2583 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
1122 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
703 return candidate.isKeyword(); in ValidateCandidate()
6925 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()