Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DTypoCorrection.h203 bool isKeyword() const { in isKeyword() function
209 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() function
210 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()
H A DSemaInternal.h317 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.cpp23 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword() function in ClangHighlighter
66 else if (highlighter.isKeyword(tok_str)) in determineClangStyle()
H A DClangHighlighter.h33 bool isKeyword(llvm::StringRef token) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DIdentifierTable.cpp239 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo
252 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()
260 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLookup.cpp3974 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument
3989 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()
H A DSemaCast.cpp1906 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
1916 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
H A DSemaExprObjC.cpp1935 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()
2096 candidate.isKeyword("super"); in ValidateCandidate()
2177 if (Corrected.isKeyword()) { in getObjCMessageKind()
H A DSemaExprMember.cpp705 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
H A DSemaTemplate.cpp558 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()
571 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
H A DSemaDecl.cpp106 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()
675 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()
966 if (Corrected.isKeyword()) in ClassifyName()
H A DSemaExpr.cpp2212 if (BestTC.isKeyword()) { in ActOnIdExpression()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DIdentifierTable.h301 bool isKeyword(const LangOptions &LangOpts) const; in alignas()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPPDirectives.cpp141 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()
2287 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseTentative.cpp1162 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
H A DParseExpr.cpp560 return candidate.isKeyword(); in ValidateCandidate()