Home
last modified time | relevance | path

Searched refs:declRefExpr (Results 1 – 12 of 12) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp126 has(ignoringParenImpCasts(declRefExpr(to(varDecl(hasName("i"))))))); in TEST()
137 hasDescendant(declRefExpr(to(varDecl(hasName("i")))))); in TEST()
336 hasArgument(0, declRefExpr(to(varDecl(hasName("y")))))); in TEST()
344 hasArgument(42, declRefExpr(to(varDecl(hasName("y")))))); in TEST()
351 ignoringParenImpCasts(declRefExpr(to(varDecl(hasName("y"))))))); in TEST()
363 declRefExpr(to(varDecl(hasName("y")))).bind("arg"); in TEST()
376 declRefExpr(to(varDecl(hasName("y")))).bind("arg"); in TEST()
405 declRefExpr(to(varDecl(hasName("y")))).bind("arg"); in TEST()
429 declRefExpr(to(varDecl(hasName("y")))).bind("arg"); in TEST()
457 declRefExpr(to(decl(equalsBoundNode("v")))), parmVarDecl())))), in TEST()
[all …]
DASTMatchersNarrowingTest.cpp30 hasArgument(0, declRefExpr(to(varDecl()))))))); in TEST()
33 hasArgument(0, declRefExpr(to(varDecl()))), in TEST()
38 hasArgument(0, declRefExpr(to(varDecl()))), in TEST()
44 hasArgument(0, declRefExpr(to(varDecl()))), in TEST()
715 callExpr(hasArgument(0, declRefExpr( in TEST()
722 callExpr(hasArgument(0, declRefExpr( in TEST()
1020 hasArgument(0, declRefExpr(to(varDecl(hasName("y")))))); in TEST()
1036 hasArgument(42, declRefExpr(to(varDecl(hasName("y")))))); in TEST()
1888 forEachDescendant(declRefExpr(to(decl(equalsBoundNode("d")))))), in TEST()
1900 on(declRefExpr(to( in TEST()
[all …]
DASTMatchersNodeTest.cpp357 declRefExpr(to( in TEST()
383 cxxMemberCallExpr(on(declRefExpr(to(varDecl(hasName("y")))))); in TEST()
493 hasDescendant(declRefExpr(to( in TEST()
1013 declRefExpr(to(functionDecl(hasName("f")))))); in TEST()
1130 variableArrayType(hasSizeExpr(ignoringImpCasts(declRefExpr(to( in TEST()
/external/clang/docs/
DLibASTMatchersTutorial.rst360 hasUnaryOperand(declRefExpr())))
369 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
378 hasUnaryOperand(declRefExpr(to(
404 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
441 hasLHS(ignoringParenImpCasts(declRefExpr(
485 hasUnaryOperand(declRefExpr(
489 hasLHS(ignoringParenImpCasts(declRefExpr(
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp86 declRefExpr(to(varDecl(hasName("a"))))))))), in TEST()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1362 auto decl_ref_matcher = id("expr", declRefExpr(to(var_decl_matcher))); in main()
1364 id("expr", declRefExpr(to(enum_member_decl_matcher))); in main()
1383 auto member_ref_matcher = id("expr", declRefExpr(to(field_decl_matcher))); in main()
1417 "expr", declRefExpr(to(function_decl_matcher), in main()
1460 "expr", declRefExpr(to(method_decl_matcher), in main()
/external/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp158 VariantValue(VariantMatcher::SingleMatcher(declRefExpr())) in TEST()
/external/clang/unittests/AST/
DASTImporterTest.cpp229 declRefExpr(hasDeclaration(varDecl(hasName("ptr"))), in TEST()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp309 on(declRefExpr(to(id("var", varDecl(hasLocalStorage()))))); in main()
/external/v8/tools/clang/value_cleanup/
DListValueRewriter.cpp469 declRefExpr(to(id( in RegisterMatchers()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp163 REGISTER_MATCHER(declRefExpr); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1376 const internal::VariadicDynCastAllOfMatcher<Stmt, DeclRefExpr> declRefExpr; variable