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);
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()
330 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo343 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()351 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
4576 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument4591 if (isKeyword) TC.makeKeyword(); in addName()5403 if (ED == 0 && Result.isKeyword()) in CorrectTypo()5417 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()5511 if (isKeyword()) in addCorrectionDecl()5537 if (candidate.isKeyword()) in ValidateCandidate()5578 return candidate.isKeyword(); in ValidateCandidate()5802 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
2111 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()2272 candidate.isKeyword("super"); in ValidateCandidate()2357 if (Corrected.isKeyword()) { in getObjCMessageKind()
2136 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()2146 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
707 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
682 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()697 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
111 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()742 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()1039 if (Corrected.isKeyword()) in ClassifyName()
2632 if (BestTC.isKeyword()) { in ActOnIdExpression()
365 bool isKeyword(const LangOptions &LangOpts) const; in alignas()
158 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()2744 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
1166 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
704 return candidate.isKeyword(); in ValidateCandidate()
7281 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()