Home
last modified time | relevance | path

Searched refs:isKeyword (Results 1 – 17 of 17) 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.cpp371 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo
384 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()
392 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.cpp4619 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument
4634 if (isKeyword) TC.makeKeyword(); in addName()
5417 if (ED == 0 && Result.isKeyword()) in CorrectTypo()
5431 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()
5453 if (isKeyword()) in addCorrectionDecl()
5479 if (candidate.isKeyword()) in ValidateCandidate()
5520 return candidate.isKeyword(); in ValidateCandidate()
5754 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
H A DSemaCast.cpp2208 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
2218 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
H A DSemaExprObjC.cpp2113 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()
2274 candidate.isKeyword("super"); in ValidateCandidate()
2358 if (Corrected.isKeyword()) { in getObjCMessageKind()
H A DSemaTemplate.cpp682 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()
698 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
H A DSemaDecl.cpp127 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()
718 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()
1016 if (Corrected.isKeyword()) in ClassifyName()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h456 bool isKeyword(const LangOptions &LangOpts) const;
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1187 if (II->isKeyword(LangOpts)) in highlightLines()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTentative.cpp987 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
H A DParseOpenACC.cpp231 Tok.getIdentifierInfo()->isKeyword(P.getLangOpts())) in isTokenIdentifierOrKeyword()
H A DParseExpr.cpp590 return candidate.isKeyword(); in ValidateCandidate()
H A DParseDecl.cpp7584 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp199 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()
2907 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
H A DLexer.cpp114 return getIdentifierInfo()->isKeyword(LangOpts); in isSimpleTypeSpecifier()