Home
last modified time | relevance | path

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

123

/external/clang/include/clang/Sema/
DTypoCorrection.h189 bool isKeyword() const { in isKeyword() function
195 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() function
196 return isKeyword() && getCorrectionAsIdentifierInfo()->isStr(Str); in isKeyword()
219 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin(); in begin()
224 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin(); in begin()
235 return (!isKeyword() && !CorrectionDecls.empty()); in hasCorrectionDecl()
DSemaInternal.h295 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/external/llvm-project/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);
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMacroParenthesesCheck.cpp55 static bool isKeyword(const Token &T) { in isKeyword() function
118 if (isKeyword(Tok)) in replacementList()
212 if (isAnyIdentifier(Prev.getKind()) || isKeyword(Prev) || in argument()
213 isAnyIdentifier(Next.getKind()) || isKeyword(Next)) in argument()
/external/llvm-project/lldb/source/Plugins/Language/ClangCommon/
DClangHighlighter.h32 bool isKeyword(llvm::StringRef token) const;
DClangHighlighter.cpp24 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword() function in ClangHighlighter
67 else if (highlighter.isKeyword(tok_str)) in determineClangStyle()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSourceCodeTests.cpp795 EXPECT_TRUE(isKeyword("int", LangOpts)); in TEST()
796 EXPECT_TRUE(isKeyword("return", LangOpts)); in TEST()
797 EXPECT_TRUE(isKeyword("co_await", LangOpts)); in TEST()
801 EXPECT_FALSE(isKeyword("final", LangOpts)); in TEST()
802 EXPECT_FALSE(isKeyword("override", LangOpts)); in TEST()
/external/llvm-project/mlir/lib/Parser/
DToken.h58 bool isKeyword() const;
DToken.cpp183 bool Token::isKeyword() const { in isKeyword() function in Token
/external/javapoet/src/main/java/com/squareup/javapoet/
DNameAllocator.java114 while (SourceVersion.isKeyword(suggestion) || !allocatedNames.add(suggestion)) { in newName()
/external/llvm-project/clang/lib/Basic/
DIdentifierTable.cpp249 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword() function in IdentifierInfo
262 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()
270 return !isKeyword(LangOptsNoCPP); in isCPlusPlusKeyword()
/external/icu/libicu/cts_headers/unicode/
Dplurrule.h514 UBool isKeyword(const UnicodeString& keyword) const;
/external/icu/icu4c/source/i18n/unicode/
Dplurrule.h514 UBool isKeyword(const UnicodeString& keyword) const;
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.h253 bool isKeyword(llvm::StringRef TokenName, const LangOptions &LangOpts);
/external/icu/icu4c/source/i18n/
Dplurrule.cpp537 PluralRules::isKeyword(const UnicodeString& keyword) const { in isKeyword() function in PluralRules
568 if (!other.isKeyword(*ptrKeyword)) { in operator ==()
574 if (!this->isKeyword(*ptrKeyword)) { in operator ==()
1212 RuleChain::isKeyword(const UnicodeString& keywordParam) const { in isKeyword() function in RuleChain
1218 return fNext->isKeyword(keywordParam); in isKeyword()
Dplurrule_impl.h389 UBool isKeyword(const UnicodeString& keyword) const;
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DAutoFactoryDeclaration.java182 return SourceVersion.isIdentifier(identifier) && !SourceVersion.isKeyword(identifier); in isValidIdentifier()
/external/dagger2/java/dagger/internal/codegen/binding/
DSourceFiles.java306 return SourceVersion.isKeyword(candidateName) ? candidateName + '_' : candidateName; in protectAgainstKeywords()
/external/icu/libicu/cts_headers/
Dplurrule_impl.h389 UBool isKeyword(const UnicodeString& keyword) const;
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DJavaToken.java231 public boolean isKeyword() { in isKeyword() method in JavaToken.Category
/external/clang/lib/Sema/
DSemaLookup.cpp3889 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument
3904 if (isKeyword) TC.makeKeyword(); in addName()
4702 if (ED == 0 && Result.isKeyword()) in CorrectTypo()
4716 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()
4813 if (isKeyword()) in addCorrectionDecl()
4839 if (candidate.isKeyword()) in ValidateCandidate()
4878 return candidate.isKeyword(); in ValidateCandidate()
5080 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
/external/clang/include/clang/Basic/
DIdentifierTable.h276 bool isKeyword(const LangOptions &LangOpts);
/external/llvm-project/clang/lib/Sema/
DSemaLookup.cpp4204 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument
4219 if (isKeyword) TC.makeKeyword(); in addName()
5020 if (ED == 0 && Result.isKeyword()) in CorrectTypo()
5034 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()
5128 if (isKeyword()) in addCorrectionDecl()
5154 if (candidate.isKeyword()) in ValidateCandidate()
5195 return candidate.isKeyword(); in ValidateCandidate()
5422 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
/external/llvm-project/clang/include/clang/Basic/
DIdentifierTable.h293 bool isKeyword(const LangOptions &LangOpts) const;

123