reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 1101 extern const internal::VariadicDynCastAllOfMatcher<Decl, EnumDecl> enumDecl;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  210   REGISTER_MATCHER(enumDecl);
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  523   auto UnscopedEnumMatcher = enumConstantDecl(hasParent(enumDecl(
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp
  186   auto Enums = enumDecl(CommonFilter, isDefinition(),
  194       anyOf(hasDeclContext(enumDecl(HasNSOrTUCtxMatcher)), ExternCMatcher));
tools/clang/tools/extra/clang-move/Move.cpp
  646       enumDecl(InOldHeader, *HasAnySymbolNames, isDefinition(), TopLevelDecl)
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp
  122                 ignoringImpCasts(hasType(enumDecl().bind(DeclName))));
  128                                  ignoringImpCasts(hasType(enumDecl(
  138                                      enumDecl(equalsBoundNode("enumDecl"))))))),
tools/clang/unittests/AST/ASTImporterODRStrategiesTest.cpp
   63   BindableMatcher<Decl> getPattern() { return enumDecl(hasName("X")); }
tools/clang/unittests/AST/ASTImporterTest.cpp
 2907       enumDecl(has(enumConstantDecl(hasName("THING_VALUE"))),
 2916       "main.c", enumDecl(), VerificationMatcher);
 2922       "main.c", enumDecl(), VerificationMatcher);
 4739   auto *E = FirstDeclMatcher<EnumDecl>().match(ToTU, enumDecl(hasName("E")));
tools/clang/unittests/AST/ASTImporterVisibilityTest.cpp
   40   BindableMatcher<Decl> operator()() { return enumDecl(hasName("E")); }
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
 2453   EXPECT_TRUE(matches("enum class X {};", enumDecl(isScoped())));
 2454   EXPECT_TRUE(notMatches("enum X {};", enumDecl(isScoped())));
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
  173   EXPECT_TRUE(notMatches("class X {};", enumDecl(hasName("X"))));
  177   EXPECT_TRUE(matches("enum X {};", enumDecl(hasName("X"))));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
  220                         qualType(hasDeclaration(enumDecl(hasName("X")))))))));