Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A 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()
H A DSemaInternal.h282 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DIdentifierTable.cpp252 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo
265 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()
273 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dtokens.h228 int isKeyword();
H A Dtokens.c335 int Token::isKeyword() in isKeyword() function
H A Ddoc.c2124 bool isKeyword(utf8_t *p, size_t len) in isKeyword() function
2554 if (isKeyword(start, len)) in highlightText()
2700 if (tok.isKeyword()) in highlightCode2()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dtokens.h479 int isKeyword();
H A Dtokens.d894 int isKeyword() const in isKeyword() function
H A Ddoc.d2634 private bool isKeyword(const(char)* p, size_t len) in isKeyword() function
5035 if (isKeyword(start, len)) in highlightText()
5289 if (tok.isKeyword()) in highlightCode2()
H A Dparse.d1293 if (token.isKeyword())
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaLookup.cpp4253 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument
4268 if (isKeyword) TC.makeKeyword(); in addName()
5069 if (ED == 0 && Result.isKeyword()) in CorrectTypo()
5083 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()
5177 if (isKeyword()) in addCorrectionDecl()
5203 if (candidate.isKeyword()) in ValidateCandidate()
5244 return candidate.isKeyword(); in ValidateCandidate()
5471 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
H A DSemaCast.cpp2108 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
2118 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()
2359 if (Corrected.isKeyword()) { in getObjCMessageKind()
H A DSemaExprMember.cpp705 assert(!TC.isKeyword() && in LookupMemberExprInRecord()
H A DSemaTemplate.cpp677 return Candidate.isKeyword(); in diagnoseExprIntendedAsTemplateName()
692 if (ND || Corrected.isKeyword()) { in diagnoseExprIntendedAsTemplateName()
H A DSemaDecl.cpp108 return !WantClassName && candidate.isKeyword(); in ValidateCandidate()
680 if (Corrected.isKeyword()) { in DiagnoseUnknownTypeName()
988 if (Corrected.isKeyword()) in ClassifyName()
H A DSemaExpr.cpp2564 if (BestTC.isKeyword()) { in ActOnIdExpression()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DIdentifierTable.h301 bool isKeyword(const LangOptions &LangOpts) const;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPDirectives.cpp168 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()
2512 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseTentative.cpp1122 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()
H A DParseExpr.cpp703 return candidate.isKeyword(); in ValidateCandidate()
H A DParseDecl.cpp6908 Tok.getIdentifierInfo()->isKeyword(getLangOpts())) { in ParseParameterDeclarationClause()