Searched refs:isKeyword (Results 1 - 17 of 17) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.h32 bool isKeyword(llvm::StringRef token) const;
H A DClangHighlighter.cpp24 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { function in class:ClangHighlighter
67 else if (highlighter.isKeyword(tok_str))
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DTypoCorrection.h202 bool isKeyword() const { function in class:clang::TypoCorrection
208 bool isKeyword(const char (&Str)[StrLen]) const { function in class:clang::TypoCorrection
209 return isKeyword() && getCorrectionAsIdentifierInfo()->isStr(Str);
233 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin();
241 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin();
262 return (!isKeyword() && !CorrectionDecls.empty());
H A DSemaInternal.h282 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp249 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { function in class:IdentifierInfo
262 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts))
270 return !isKeyword(LangOptsNoCPP);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h293 bool isKeyword(const LangOptions &LangOpts) const;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4160 NestedNameSpecifier *NNS, bool isKeyword) {
4175 if (isKeyword) TC.makeKeyword();
4976 if (ED == 0 && Result.isKeyword())
4990 else if ((*Consumer)["super"].front().isKeyword())
5084 if (isKeyword())
5110 if (candidate.isKeyword())
5151 return candidate.isKeyword();
5378 Correction.isKeyword() ? nullptr : Correction.getFoundDecl();
H A DSemaCast.cpp1997 AttrTokens.push_back(II->isKeyword(Self.getLangOpts())
2007 AttrTokens.push_back(II->isKeyword(Self.getLangOpts())
H A DSemaExprObjC.cpp2101 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl();
2262 candidate.isKeyword("super");
2347 if (Corrected.isKeyword()) {
H A DSemaExprMember.cpp708 assert(!TC.isKeyword() &&
H A DSemaTemplate.cpp676 return Candidate.isKeyword();
691 if (ND || Corrected.isKeyword()) {
H A DSemaDecl.cpp108 return !WantClassName && candidate.isKeyword();
682 if (Corrected.isKeyword()) {
990 if (Corrected.isKeyword())
H A DSemaExpr.cpp2453 if (BestTC.isKeyword()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp147 if (II->isKeyword(Lang))
2485 if (!II->isKeyword(LOptions))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseTentative.cpp1121 if (Candidate.isResolved() && !Candidate.isKeyword() &&
H A DParseExpr.cpp703 return candidate.isKeyword();
H A DParseDecl.cpp6755 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) {

Completed in 676 milliseconds