Searched refs:tagDecl (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseUsingCheck.cpp | 32 Finder->addMatcher(tagDecl(unless(isImplicit())).bind("tagdecl"), this); in registerMatchers()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 247 EXPECT_TRUE(matches("struct X {};", tagDecl(hasName("X")))); in TEST_P() 248 EXPECT_TRUE(matches("union U {};", tagDecl(hasName("U")))); in TEST_P() 249 EXPECT_TRUE(matches("enum E {};", tagDecl(hasName("E")))); in TEST_P() 256 EXPECT_TRUE(matches("class C {};", tagDecl(hasName("C")))); in TEST_P()
|
D | ASTMatchersNarrowingTest.cpp | 3395 EXPECT_TRUE(matches("struct S {};", tagDecl(isStruct()))); in TEST_P() 3399 EXPECT_TRUE(matches("union U {};", tagDecl(isUnion()))); in TEST_P() 3403 EXPECT_TRUE(matches("enum E { E1 };", tagDecl(isEnum()))); in TEST_P() 3411 EXPECT_TRUE(matches("class C {};", tagDecl(isClass()))); in TEST_P()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 516 REGISTER_MATCHER(tagDecl); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 775 const internal::VariadicDynCastAllOfMatcher<Decl, TagDecl> tagDecl; variable
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1284 extern const internal::VariadicDynCastAllOfMatcher<Decl, TagDecl> tagDecl;
|