Searched refs:recordDecl (Results 1 - 2 of 2) sorted by relevance

/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp22 DeclarationMatcher HasEmptyName = recordDecl(hasName(""));
29 DeclarationMatcher HasEmptyName = recordDecl(matchesName(""));
36 DeclarationMatcher IsDerivedFromEmpty = recordDecl(isDerivedFrom(""));
85 DeclarationMatcher ClassMatcher(recordDecl());
93 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X")));
101 DeclarationMatcher IsDerivedFromX = recordDecl(isDerivedFrom("X"));
109 DeclarationMatcher IsAX = recordDecl(isA("X"));
118 recordDecl(hasName("Z"), isDerivedFrom("X"));
250 hasInitializer(hasType(recordDecl(isDerivedFro
[all...]
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h17 // recordDecl(hasName("MyClass"))
28 // recordDecl(hasName("MyClass"), hasChild(id("child", recordDecl())))
166 CXXRecordDecl> recordDecl; member in namespace:clang::ast_matchers
1155 /// Example matches X, Y (matcher = recordDecl(has(recordDecl(hasName("X")))
1176 /// (matcher = recordDecl(hasDescendant(recordDecl(hasName("X")))))
1197 /// Example matches X, Y (matcher = recordDecl(forEach(recordDecl(hasNam
[all...]

Completed in 73 milliseconds