Home
last modified time | relevance | path

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

/freebsd/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/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/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaInternal.h278 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4525 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument
4540 if (isKeyword) TC.makeKeyword(); in addName()
5325 if (ED == 0 && Result.isKeyword()) in CorrectTypo()
5339 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()
5395 if (isKeyword()) in addCorrectionDecl()
5421 if (candidate.isKeyword()) in ValidateCandidate()
5462 return candidate.isKeyword(); in ValidateCandidate()
5696 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
H A DSemaCast.cpp2176 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
2186 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
H A DSemaExprObjC.cpp2124 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()
2285 candidate.isKeyword("super"); in ValidateCandidate()
2369 if (Corrected.isKeyword()) { in getObjCMessageKind()
H A DSemaExprMember.cpp749 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
H A DSemaTemplate.cpp682 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()
697 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
H A DSemaDecl.cpp123 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()
701 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()
999 if (Corrected.isKeyword()) in ClassifyName()
H A DSemaExpr.cpp2785 if (BestTC.isKeyword()) { in ActOnIdExpression()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h449 bool isKeyword(const LangOptions &LangOpts) const;
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenACC.cpp226 Tok.getIdentifierInfo()->isKeyword(P.getLangOpts())) in isTokenIdentifierOrKeyword()
H A DParseTentative.cpp1207 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
H A DParseExpr.cpp734 return candidate.isKeyword(); in ValidateCandidate()
H A DParseDecl.cpp7985 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1190 if (II->isKeyword(LangOpts)) in highlightLines()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp185 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()
2873 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
H A DLexer.cpp115 return getIdentifierInfo()->isKeyword(LangOpts); in isSimpleTypeSpecifier()