Home
last modified time | relevance | path

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

/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp48 auto is_bind_call = callee(namedDecl(hasName("::base::Bind"))); in GetMatcher()
52 cxxMemberCallExpr(thisPointerType(namedDecl(hasName("scoped_refptr"))), in GetMatcher()
53 callee(namedDecl(hasName("get")))); in GetMatcher()
/external/clang/unittests/AST/
DDeclPrinterTest.cpp107 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()
DNamedDeclPrinterTest.cpp102 namedDecl(hasName(DeclName)).bind("id"), in PrintedNamedDeclCXX98Matches()
114 namedDecl(hasName(DeclName)).bind("id"), in PrintedWrittenNamedDeclCXX11Matches()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp167 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()
DASTMatchersNodeTest.cpp41 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()
DASTMatchersNarrowingTest.cpp177 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/
DRegistry.cpp344 REGISTER_MATCHER(namedDecl); in RegistryMaps()
/external/clang/tools/libclang/
DCXCursor.cpp1347 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/
DRewriteToChromeStyle.cpp603 hasDeclaration(namedDecl(hasName(name))))); in GetNameForDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h307 const internal::VariadicDynCastAllOfMatcher<Decl, NamedDecl> namedDecl; variable