Home
last modified time | relevance | path

Searched refs:namedDecl (Results 1 – 6 of 6) sorted by relevance

/external/clang/unittests/AST/
DDeclPrinterTest.cpp107 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX98Matches()
130 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX11Matches()
1275 namedDecl(hasName("A:inRange:"), in TEST()
1276 hasDescendant(namedDecl(hasName("printThis")))).bind("id"), in TEST()
1283 namedDecl(hasName("P1")).bind("id"), in TEST()
1287 namedDecl(hasName("P2")).bind("id"), in TEST()
1295 namedDecl(hasName("P1")).bind("id"), in TEST()
DNamedDeclPrinterTest.cpp102 namedDecl(hasName(DeclName)).bind("id"), in PrintedNamedDeclCXX98Matches()
114 namedDecl(hasName(DeclName)).bind("id"), in PrintedWrittenNamedDeclCXX11Matches()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp65 DeclarationMatcher NamedX = namedDecl(hasName("X")); in TEST()
78 DeclarationMatcher NamedX = namedDecl(matchesName("::X")); in TEST()
89 DeclarationMatcher StartsWithNo = namedDecl(matchesName("::no")); in TEST()
93 DeclarationMatcher Abc = namedDecl(matchesName("a.*b.*c")); in TEST()
99 DeclarationMatcher StartsWithK = namedDecl(matchesName(":k[^:]*$")); in TEST()
335 recordDecl(isDerivedFrom(namedDecl(hasName("X")))))); in TEST()
613 namedDecl(hasName("Foo"), unless(recordDecl())); in TEST()
986 hasDeclaration(namedDecl(hasName("A")))))))); in TEST()
4216 hasDeclaration(namedDecl(hasName("D"))))))))); in TEST()
4553 "int i = 1;", varDecl(namedDecl(hasName("i")).bind("name"), in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp277 REGISTER_MATCHER(namedDecl); in RegistryMaps()
/external/clang/tools/libclang/
DCXCursor.cpp1283 if (const NamedDecl *namedDecl = dyn_cast_or_null<NamedDecl>(decl)) { in clang_getCursorCompletionString() local
1285 CodeCompletionResult Result(namedDecl, CCP_Declaration); in clang_getCursorCompletionString()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h282 const internal::VariadicDynCastAllOfMatcher<Decl, NamedDecl> namedDecl; variable