Home
last modified time | relevance | path

Searched refs:EnumConstant (Results 1 – 25 of 52) sorted by relevance

123

/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DPopulateSwitch.cpp146 for (auto *EnumConstant : EnumD->enumerators()) { in REGISTER_TWEAK() local
148 std::make_pair(Normalize(EnumConstant->getInitVal()), EnumConstant)); in REGISTER_TWEAK()
189 for (auto &EnumConstant : ExpectedCases) { in apply() local
191 if (EnumConstant.second.isCovered()) in apply()
197 Text.append({EnumConstant.second.getEnumConstant()->getName(), ":"}); in apply()
/external/llvm-project/clang/lib/APINotes/
DAPINotesYAMLCompiler.cpp352 struct EnumConstant { struct
359 typedef std::vector<EnumConstant> EnumConstantsSeq;
362 LLVM_YAML_IS_SEQUENCE_VECTOR(EnumConstant)
366 template <> struct MappingTraits<EnumConstant> {
367 static void mapping(IO &IO, EnumConstant &EC) { in mapping()
/external/clang/lib/Index/
DIndexSymbol.cpp117 case Decl::EnumConstant: in getSymbolInfo()
118 Info.Kind = SymbolKind::EnumConstant; break; in getSymbolInfo()
330 case SymbolKind::EnumConstant: return "enumerator"; in getSymbolKindString()
/external/llvm-project/clang-tools-extra/clangd/
DSemanticHighlighting.h51 EnumConstant, enumerator
DSemanticHighlighting.cpp85 return HighlightingKind::EnumConstant; in kindForDecl()
430 case HighlightingKind::EnumConstant: in operator <<()
573 case HighlightingKind::EnumConstant: in toSemanticTokenType()
650 case HighlightingKind::EnumConstant: in toTextMateScope()
DQuality.cpp151 case index::SymbolKind::EnumConstant: in categorize()
/external/llvm-project/clang/unittests/AST/
DASTImporterODRStrategiesTest.cpp75 struct EnumConstant { struct
411 EnumConstant, Liberal, ,
452 EnumConstant, Conservative, ,
/external/clang/include/clang/Index/
DIndexSymbol.h42 EnumConstant, enumerator
/external/llvm-project/clang/include/clang/Index/
DIndexSymbol.h42 EnumConstant, enumerator
/external/llvm-project/clang/lib/Index/
DIndexSymbol.cpp187 case Decl::EnumConstant: in getSymbolInfo()
188 Info.Kind = SymbolKind::EnumConstant; break; in getSymbolInfo()
517 case SymbolKind::EnumConstant: return "enumerator"; in getSymbolKindString()
/external/clang/include/clang/Basic/
DDeclNodes.td37 def EnumConstant : DDecl<Value>;
/external/llvm-project/clang/include/clang/Basic/
DDeclNodes.td37 def EnumConstant : DeclNode<Value, "enumerators">;
/external/clang/lib/Serialization/
DASTCommon.cpp277 case Decl::EnumConstant: in isRedeclarableDeclKind()
/external/clang/lib/AST/
DComment.cpp222 case Decl::EnumConstant: in fill()
/external/llvm-project/clang/lib/Serialization/
DASTCommon.cpp380 case Decl::EnumConstant: in isRedeclarableDeclKind()
/external/llvm-project/clang/lib/AST/
DComment.cpp297 case Decl::EnumConstant: in fill()
DODRHash.cpp454 case Decl::EnumConstant: // Only found in EnumDecl's. in isDeclToBeProcessed()
/external/llvm-project/clang/lib/Frontend/
DInterfaceStubFunctionsConsumer.cpp189 case Decl::Kind::EnumConstant: in HandleNamedDecl()
/external/clang/lib/Frontend/
DASTConsumers.cpp427 case Decl::EnumConstant: { in PrintDeclContext()
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolCollector.cpp100 return (ND.getKind() != Decl::EnumConstant) || llvm::any_of(Name, islower); in isPrivateProtoDecl()
118 case SK::EnumConstant: in shouldCollectIncludePath()
DYAMLSerialization.cpp250 DEFINE_ENUM(EnumConstant); in enumeration()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSemanticHighlightingTests.cpp54 {HighlightingKind::EnumConstant, "EnumConstant"}, in getExpectedTokens()
DHoverTests.cpp474 HI.Kind = index::SymbolKind::EnumConstant; in TEST()
1411 HI.Kind = index::SymbolKind::EnumConstant; in TEST()
1429 HI.Kind = index::SymbolKind::EnumConstant; in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIdentifierNamingCheck.cpp57 m(EnumConstant) \
/external/llvm-project/clang/lib/Sema/
DSemaStmtAsm.cpp726 if (DRE->getDecl()->getKind() == Decl::EnumConstant) in FillInlineAsmIdentifierInfo()

123