Lines Matching defs:Visitor
42 LambdaExprVisitor Visitor;
43 Visitor.ExpectMatch("", 1, 12);
44 EXPECT_TRUE(Visitor.runOver("void f() { []{ return; }(); }",
49 LambdaExprVisitor Visitor;
50 EXPECT_TRUE(Visitor.runOver("void f() { []{ return; }(); }",
52 EXPECT_TRUE(Visitor.allBodiesHaveBeenTraversed());
68 LambdaDefaultCaptureVisitor Visitor;
69 Visitor.ExpectMatch("", 1, 20);
70 EXPECT_TRUE(Visitor.runOver("void f() { int a; [=]{a;}; }",
94 ClassVisitor Visitor;
95 EXPECT_TRUE(Visitor.runOver("auto lambda = []{};",
97 EXPECT_TRUE(Visitor.sawOnlyImplicitLambdaClasses());
121 AttrVisitor Visitor;
122 Visitor.ExpectMatch("Attr", 4, 24);
123 Visitor.ExpectMatch("guarded_by", 4, 24);
124 Visitor.ExpectMatch("mu1", 4, 35);
125 Visitor.ExpectMatch("Attr", 5, 29);
126 Visitor.ExpectMatch("mu1", 5, 54);
127 Visitor.ExpectMatch("mu2", 5, 59);
128 EXPECT_TRUE(Visitor.runOver(