Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DTypoCorrection.h202 bool isKeyword() const { in isKeyword() function
208 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() function
209 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()
H A DSemaInternal.h282 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.h33 bool isKeyword(llvm::StringRef token) const;
H A DClangHighlighter.cpp25 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword() function in ClangHighlighter
68 else if (highlighter.isKeyword(tok_str)) in determineClangStyle()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp344 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo
357 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()
365 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4594 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument
4609 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()
H A DSemaExprObjC.cpp2113 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()
2274 candidate.isKeyword("super"); in ValidateCandidate()
2359 if (Corrected.isKeyword()) { in getObjCMessageKind()
H A DSemaCast.cpp2167 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
2177 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
H A DSemaExprMember.cpp739 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
H A DSemaTemplate.cpp683 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()
698 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
H A DSemaDecl.cpp114 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()
767 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()
1064 if (Corrected.isKeyword()) in ClassifyName()
H A DSemaExpr.cpp2832 if (BestTC.isKeyword()) { in ActOnIdExpression()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h424 bool isKeyword(const LangOptions &LangOpts) const; in alignas()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenACC.cpp199 Tok.getIdentifierInfo()->isKeyword(P.getLangOpts())) in isTokenIdentifierOrKeyword()
H A DParseTentative.cpp1206 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
H A DParseExpr.cpp715 return candidate.isKeyword(); in ValidateCandidate()
H A DParseDecl.cpp7533 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp184 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()
2795 if (!II->isKeyword(LOptions)) in isConfigurationPattern()