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

/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.h32 bool isKeyword(llvm::StringRef token) const;
H A DClangHighlighter.cpp23 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { function in class:ClangHighlighter
66 else if (highlighter.isKeyword(tok_str))
/freebsd-12-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.h277 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp240 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { function in class:IdentifierInfo
253 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts))
261 return !isKeyword(LangOptsNoCPP);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h300 bool isKeyword(const LangOptions &LangOpts) const;
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4247 NestedNameSpecifier *NNS, bool isKeyword) {
4262 if (isKeyword) TC.makeKeyword();
5063 if (ED == 0 && Result.isKeyword())
5077 else if ((*Consumer)["super"].front().isKeyword())
5171 if (isKeyword())
5197 if (candidate.isKeyword())
5238 return candidate.isKeyword();
5493 Correction.isKeyword() ? nullptr : Correction.getFoundDecl();
H A DSemaCast.cpp1940 AttrTokens.push_back(II->isKeyword(Self.getLangOpts())
1950 AttrTokens.push_back(II->isKeyword(Self.getLangOpts())
H A DSemaExprObjC.cpp1986 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl();
2147 candidate.isKeyword("super");
2232 if (Corrected.isKeyword()) {
H A DSemaExprMember.cpp708 assert(!TC.isKeyword() &&
H A DSemaTemplate.cpp670 return Candidate.isKeyword();
685 if (ND || Corrected.isKeyword()) {
H A DSemaDecl.cpp107 return !WantClassName && candidate.isKeyword();
680 if (Corrected.isKeyword()) {
985 if (Corrected.isKeyword())
H A DSemaExpr.cpp2420 if (BestTC.isKeyword()) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp147 if (II->isKeyword(Lang))
2421 if (!II->isKeyword(LOptions))
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseTentative.cpp1188 if (Candidate.isResolved() && !Candidate.isKeyword() &&
H A DParseExpr.cpp685 return candidate.isKeyword();

Completed in 581 milliseconds