Lines Matching refs:Expr
19 bool VisitCallExpr(CallExpr *Expr) { in VisitCallExpr()
20 OnCall(Expr); in VisitCallExpr()
35 auto replaceCallExpr = [&](const CallExpr *Expr, in TEST()
37 const auto *Callee = cast<DeclRefExpr>(Expr->getCallee()->IgnoreImplicit()); in TEST()
44 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
45 EXPECT_EQ("bar", replaceCallExpr(Expr, "::bar")); in TEST()
50 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
51 EXPECT_EQ("bar", replaceCallExpr(Expr, "::a::bar")); in TEST()
56 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
57 EXPECT_EQ("a::bar", replaceCallExpr(Expr, "::a::bar")); in TEST()
62 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
63 EXPECT_EQ("a::bar", replaceCallExpr(Expr, "::a::bar")); in TEST()
69 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
70 EXPECT_EQ("c::bar", replaceCallExpr(Expr, "::a::c::bar")); in TEST()
75 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
76 EXPECT_EQ("bar", replaceCallExpr(Expr, "::a::bar")); in TEST()
81 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
82 EXPECT_EQ("bar", replaceCallExpr(Expr, "::bar")); in TEST()
86 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
87 EXPECT_EQ("::bar", replaceCallExpr(Expr, "::bar")); in TEST()
91 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
92 EXPECT_EQ("a::bar", replaceCallExpr(Expr, "::a::bar")); in TEST()
96 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
97 EXPECT_EQ("a::bar", replaceCallExpr(Expr, "::a::bar")); in TEST()
101 Visitor.OnCall = [&](CallExpr *Expr) { in TEST() argument
102 EXPECT_EQ("bar", replaceCallExpr(Expr, "::a::bar")); in TEST()