Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Sema/
HDTypoCorrection.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()
HDSemaInternal.h278 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/
HDClangHighlighter.h33 bool isKeyword(llvm::StringRef token) const;
HDClangHighlighter.cpp25 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword() function in ClangHighlighter
68 else if (highlighter.isKeyword(tok_str)) in determineClangStyle()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Basic/
HDIdentifierTable.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-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaLookup.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()
HDSemaCast.cpp2176 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
2186 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
HDSemaExprObjC.cpp2124 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()
2285 candidate.isKeyword("super"); in ValidateCandidate()
2369 if (Corrected.isKeyword()) { in getObjCMessageKind()
HDSemaExprMember.cpp749 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
HDSemaTemplate.cpp682 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()
697 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
HDSemaDecl.cpp123 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()
701 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()
999 if (Corrected.isKeyword()) in ClassifyName()
HDSemaExpr.cpp2785 if (BestTC.isKeyword()) { in ActOnIdExpression()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Basic/
HDIdentifierTable.h449 bool isKeyword(const LangOptions &LangOpts) const; in alignas()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Frontend/
HDTextDiagnostic.cpp1190 if (II->isKeyword(LangOpts)) in highlightLines()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Parse/
HDParseOpenACC.cpp226 Tok.getIdentifierInfo()->isKeyword(P.getLangOpts())) in isTokenIdentifierOrKeyword()
HDParseTentative.cpp1207 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
HDParseExpr.cpp734 return candidate.isKeyword(); in ValidateCandidate()
HDParseDecl.cpp7985 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Lex/
HDPPDirectives.cpp185 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()
2873 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
HDLexer.cpp115 return getIdentifierInfo()->isKeyword(LangOpts); in isSimpleTypeSpecifier()