Searched refs:isKeyword (Results 1 – 16 of 16) sorted by relevance
203 bool isKeyword() const { in isKeyword() function209 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() function210 return isKeyword() && getCorrectionAsIdentifierInfo()->isStr(Str); in isKeyword()234 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin(); in begin()242 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin(); in begin()263 return (!isKeyword() && !CorrectionDecls.empty()); in hasCorrectionDecl()
317 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
23 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword() function in ClangHighlighter66 else if (highlighter.isKeyword(tok_str)) in determineClangStyle()
33 bool isKeyword(llvm::StringRef token) const;
239 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo252 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()260 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
3974 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument3989 if (isKeyword) TC.makeKeyword(); in addName()4787 if (ED == 0 && Result.isKeyword()) in CorrectTypo()4801 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()4898 if (isKeyword()) in addCorrectionDecl()4924 if (candidate.isKeyword()) in ValidateCandidate()4963 return candidate.isKeyword(); in ValidateCandidate()5173 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
1906 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()1916 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
1935 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()2096 candidate.isKeyword("super"); in ValidateCandidate()2177 if (Corrected.isKeyword()) { in getObjCMessageKind()
705 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
558 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()571 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
106 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()675 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()966 if (Corrected.isKeyword()) in ClassifyName()
2212 if (BestTC.isKeyword()) { in ActOnIdExpression()
301 bool isKeyword(const LangOptions &LangOpts) const; in alignas()
141 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()2287 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
1162 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
560 return candidate.isKeyword(); in ValidateCandidate()