Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/clang/include/clang/Sema/
DTypoCorrection.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()
DSemaInternal.h282 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/openbsd/src/gnu/llvm/lldb/source/Plugins/Language/ClangCommon/
DClangHighlighter.h33 bool isKeyword(llvm::StringRef token) const;
DClangHighlighter.cpp25 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword() function in ClangHighlighter
68 else if (highlighter.isKeyword(tok_str)) in determineClangStyle()
/openbsd/src/gnu/llvm/clang/lib/Basic/
DIdentifierTable.cpp330 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo
343 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()
351 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaLookup.cpp4576 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument
4591 if (isKeyword) TC.makeKeyword(); in addName()
5403 if (ED == 0 && Result.isKeyword()) in CorrectTypo()
5417 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()
5511 if (isKeyword()) in addCorrectionDecl()
5537 if (candidate.isKeyword()) in ValidateCandidate()
5578 return candidate.isKeyword(); in ValidateCandidate()
5802 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
DSemaExprObjC.cpp2111 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr()
2272 candidate.isKeyword("super"); in ValidateCandidate()
2357 if (Corrected.isKeyword()) { in getObjCMessageKind()
DSemaCast.cpp2136 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
2146 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
DSemaExprMember.cpp707 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
DSemaTemplate.cpp682 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()
697 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
DSemaDecl.cpp111 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()
742 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()
1039 if (Corrected.isKeyword()) in ClassifyName()
DSemaExpr.cpp2632 if (BestTC.isKeyword()) { in ActOnIdExpression()
/openbsd/src/gnu/llvm/clang/include/clang/Basic/
DIdentifierTable.h365 bool isKeyword(const LangOptions &LangOpts) const; in alignas()
/openbsd/src/gnu/llvm/clang/lib/Lex/
DPPDirectives.cpp158 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()
2744 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
/openbsd/src/gnu/llvm/clang/lib/Parse/
DParseTentative.cpp1166 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
DParseExpr.cpp704 return candidate.isKeyword(); in ValidateCandidate()
DParseDecl.cpp7281 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()