Searched refs:isKeyword (Results 1 – 18 of 18) 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);
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()
4594 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument4609 if (isKeyword) TC.makeKeyword(); in addName()5421 if (ED == 0 && Result.isKeyword()) in CorrectTypo()5435 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()5529 if (isKeyword()) in addCorrectionDecl()5555 if (candidate.isKeyword()) in ValidateCandidate()5596 return candidate.isKeyword(); in ValidateCandidate()5848 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
2113 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()2274 candidate.isKeyword("super"); in ValidateCandidate()2359 if (Corrected.isKeyword()) { in getObjCMessageKind()
2167 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()2177 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
739 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
683 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()698 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
114 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()767 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()1064 if (Corrected.isKeyword()) in ClassifyName()
2832 if (BestTC.isKeyword()) { in ActOnIdExpression()
424 bool isKeyword(const LangOptions &LangOpts) const; in alignas()
199 Tok.getIdentifierInfo()->isKeyword(P.getLangOpts())) in isTokenIdentifierOrKeyword()
1206 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
715 return candidate.isKeyword(); in ValidateCandidate()
7533 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()
184 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()2795 if (!II->isKeyword(LOptions)) in isConfigurationPattern()