Searched refs:namedDecl (Results 1 – 10 of 10) sorted by relevance
/external/clang/unittests/AST/ |
D | DeclPrinterTest.cpp | 107 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX98Matches() 130 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX11Matches() 1293 namedDecl(hasName("A:inRange:"), in TEST() 1294 hasDescendant(namedDecl(hasName("printThis")))).bind("id"), in TEST() 1301 namedDecl(hasName("P1")).bind("id"), in TEST() 1305 namedDecl(hasName("P2")).bind("id"), in TEST() 1313 namedDecl(hasName("P1")).bind("id"), in TEST()
|
D | NamedDeclPrinterTest.cpp | 102 namedDecl(hasName(DeclName)).bind("id"), in PrintedNamedDeclCXX98Matches() 114 namedDecl(hasName(DeclName)).bind("id"), in PrintedWrittenNamedDeclCXX11Matches()
|
/external/v8/tools/clang/base_bind_rewriters/ |
D | BaseBindRewriters.cpp | 68 auto is_passed = namedDecl(hasName("::base::Passed")); in GetMatcher() 69 auto is_bind_once_call = callee(namedDecl(hasName("::base::BindOnce"))); in GetMatcher() 157 callExpr(callee(namedDecl(hasName("::base::Bind")))).bind("target"); in GetMatcher() 199 namedDecl(hasName("::base::RepeatingCallback")); in GetMatcher() 250 namedDecl(hasName("::base::RepeatingCallback"))))), in GetMatcher() 607 callee(namedDecl(hasName("::base::AdaptCallbackForRepeating")))) in GetMatcher()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 167 varDecl(hasType(namedDecl(hasName("S")))))); in TEST() 173 parmVarDecl(hasType(namedDecl(hasName("I")))))); in TEST() 186 parmVarDecl(hasType(namedDecl(hasName("T")))))); in TEST() 200 parmVarDecl(hasType(namedDecl(hasName("S")))))); in TEST() 215 EXPECT_TRUE(matches(Using, parmVarDecl(hasType(namedDecl(hasName("Foo")))))); in TEST() 241 hasDeclaration(namedDecl(hasName("A")))))))); in TEST() 1802 hasDeclaration(namedDecl(hasName("D"))))))))); in TEST()
|
D | ASTMatchersNodeTest.cpp | 41 DeclarationMatcher NamedX = namedDecl(hasName("X")); in TEST() 54 DeclarationMatcher NamedX = namedDecl(matchesName("::X")); in TEST() 65 DeclarationMatcher StartsWithNo = namedDecl(matchesName("::no")); in TEST() 69 DeclarationMatcher Abc = namedDecl(matchesName("a.*b.*c")); in TEST() 75 DeclarationMatcher StartsWithK = namedDecl(matchesName(":k[^:]*$")); in TEST()
|
D | ASTMatchersNarrowingTest.cpp | 177 namedDecl(hasName("Foo"), unless(recordDecl())); in TEST() 537 cxxRecordDecl(isDerivedFrom(namedDecl(hasName("X")))))); in TEST() 1817 "int i = 1;", varDecl(namedDecl(hasName("i")).bind("name"), in TEST()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 344 REGISTER_MATCHER(namedDecl); in RegistryMaps()
|
/external/clang/tools/libclang/ |
D | CXCursor.cpp | 1347 if (const NamedDecl *namedDecl = dyn_cast_or_null<NamedDecl>(decl)) { in clang_getCursorCompletionString() local 1349 CodeCompletionResult Result(namedDecl, CCP_Declaration); in clang_getCursorCompletionString()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 816 hasDeclaration(namedDecl(hasName(name))))); in GetNameForDecl()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 307 const internal::VariadicDynCastAllOfMatcher<Decl, NamedDecl> namedDecl; variable
|