Home
last modified time | relevance | path

Searched refs:isKeyword (Results 1 – 12 of 12) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDTypoCorrection.h182 bool isKeyword() const { in isKeyword() function
189 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() function
190 return isKeyword() && getCorrectionAsIdentifierInfo()->isStr(Str); in isKeyword()
213 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin(); in begin()
218 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin(); in begin()
229 return (!isKeyword() && !CorrectionDecls.empty()); in hasCorrectionDecl()
HDSemaInternal.h291 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaLookup.cpp3627 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument
3642 if (isKeyword) TC.makeKeyword(); in addName()
4438 if (ED == 0 && Result.isKeyword()) in CorrectTypo()
4452 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()
4540 if (isKeyword()) in addCorrectionDecl()
4566 if (candidate.isKeyword()) in ValidateCandidate()
4605 return candidate.isKeyword(); in ValidateCandidate()
4784 Correction.isKeyword() ? nullptr : Correction.getCorrectionDecl(); in diagnoseTypo()
HDSemaExprMember.cpp641 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
HDSemaExprObjC.cpp2033 candidate.isKeyword("super"); in ValidateCandidate()
2114 if (Corrected.isKeyword()) { in getObjCMessageKind()
HDSemaDecl.cpp83 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()
571 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()
846 if (Corrected.isKeyword()) in ClassifyName()
HDSemaExpr.cpp2200 if (BestTC.isKeyword()) { in ActOnIdExpression()
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDIdentifierTable.h256 bool isKeyword(const LangOptions &LangOpts);
/NextBSD/contrib/llvm/tools/clang/lib/Basic/
HDIdentifierTable.cpp245 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) { in isKeyword() function in IdentifierInfo
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDPPDirectives.cpp123 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()
2001 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseTentative.cpp1018 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
HDParseExpr.cpp483 return candidate.isKeyword(); in ValidateCandidate()