/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousEnumUsageCheck.cpp | 122 ignoringImpCasts(hasType(enumDecl().bind(DeclName)))); in registerMatchers() 128 ignoringImpCasts(hasType(enumDecl( in registerMatchers() 138 enumDecl(equalsBoundNode("enumDecl"))))))), in registerMatchers()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | FieldsResolutionTest.java | 88 EnumDeclaration enumDecl = Navigator.demandEnum(cu, "AccessEnumMemberThroughThis"); in accessEnumFieldThroughThis() local 89 MethodDeclaration method = Navigator.demandMethod(enumDecl, "getLabel"); in accessEnumFieldThroughThis() 100 EnumDeclaration enumDecl = Navigator.demandEnum(cu, "AccessEnumMemberThroughThis"); in accessEnumMethodThroughThis() local 101 MethodDeclaration method = Navigator.demandMethod(enumDecl, "getLabel2"); in accessEnumMethodThroughThis()
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
D | FindAllSymbols.cpp | 186 auto Enums = enumDecl(CommonFilter, isDefinition(), in registerMatchers() 194 anyOf(hasDeclContext(enumDecl(HasNSOrTUCtxMatcher)), ExternCMatcher)); in registerMatchers()
|
/external/llvm-project/clang/unittests/AST/ |
D | DeclPrinterTest.cpp | 278 "enum A { a0, a1, a2 };", enumDecl(hasName("A")).bind("id"), in TEST() 285 "enum A { a0 = -1, a1, a2 = 1 };", enumDecl(hasName("A")).bind("id"), in TEST() 293 enumDecl(has(enumConstantDecl(hasName("a0")))).bind("id"), in TEST() 300 "enum class A { a0, a1, a2 };", enumDecl(hasName("A")).bind("id"), in TEST()
|
D | ASTImporterODRStrategiesTest.cpp | 63 BindableMatcher<Decl> getPattern() { return enumDecl(hasName("X")); } in getPattern() 71 BindableMatcher<Decl> getPattern() { return enumDecl(hasName("X")); } in getPattern()
|
D | ASTImporterVisibilityTest.cpp | 40 BindableMatcher<Decl> operator()() { return enumDecl(hasName("E")); } in operator ()()
|
D | ASTImporterGenericRedeclTest.cpp | 43 return enumDecl(hasName("X"), unless(isImplicit())); in getPattern()
|
D | ASTImporterTest.cpp | 2712 enumDecl(has(enumConstantDecl(hasName("THING_VALUE"))), in TEST_P() 2721 "main.c", enumDecl(), VerificationMatcher); in TEST_P() 2727 "main.c", enumDecl(), VerificationMatcher); in TEST_P() 4665 auto *E = FirstDeclMatcher<EnumDecl>().match(ToTU, enumDecl(hasName("E"))); in TEST_P()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 173 REGISTER_MATCHER(enumDecl); in RegistryMaps()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 164 EXPECT_TRUE(notMatches("class X {};", enumDecl(hasName("X")))); in TEST() 168 EXPECT_TRUE(matches("enum X {};", enumDecl(hasName("X")))); in TEST()
|
D | ASTMatchersTraversalTest.cpp | 221 qualType(hasDeclaration(enumDecl(hasName("X"))))))))); in TEST()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 220 REGISTER_MATCHER(enumDecl); in RegistryMaps()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 220 EXPECT_TRUE(notMatches("class X {};", enumDecl(hasName("X")))); in TEST_P() 228 EXPECT_TRUE(matches("enum X {};", enumDecl(hasName("X")))); in TEST_P()
|
D | ASTMatchersNarrowingTest.cpp | 3387 EXPECT_TRUE(matches("enum class X {};", enumDecl(isScoped()))); in TEST_P() 3391 EXPECT_TRUE(notMatches("enum E { E1 };", enumDecl(isScoped()))); in TEST_P()
|
D | ASTMatchersTraversalTest.cpp | 220 qualType(hasDeclaration(enumDecl(hasName("X"))))))))); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-move/ |
D | Move.cpp | 648 enumDecl(InOldHeader, HasAnySymbolNames, isDefinition(), TopLevelDecl) in registerMatchers()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 772 const internal::VariadicDynCastAllOfMatcher<Decl, EnumDecl> enumDecl; variable
|
/external/llvm-project/clang-tools-extra/clang-change-namespace/ |
D | ChangeNamespace.cpp | 513 auto UnscopedEnumMatcher = enumConstantDecl(hasParent(enumDecl( in registerMatchers()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 897 const internal::VariadicDynCastAllOfMatcher<Decl, EnumDecl> enumDecl; variable
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1259 extern const internal::VariadicDynCastAllOfMatcher<Decl, EnumDecl> enumDecl;
|