Lines Matching refs:match

34   EXPECT_FALSE(Verifier.match("int i", varDecl()));  in TEST()
40 EXPECT_FALSE(Verifier.match("int i;", recordDecl())); in TEST()
46 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
52 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
58 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
71 EXPECT_TRUE(Verifier.match("void f() { l: return; }", labelStmt())); in TEST()
77 EXPECT_TRUE(Verifier.match("void f() { l: return; }", labelStmt())); in TEST()
83 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); in TEST()
89 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); in TEST()
95 EXPECT_TRUE(Verifier.match("void f() { new int[10]; }", cxxNewExpr())); in TEST()
101 EXPECT_TRUE(Verifier.match("void f() { new int(); }", cxxNewExpr())); in TEST()
107 EXPECT_TRUE(Verifier.match("struct S { operator int() const; };\n" in TEST()
122 EXPECT_TRUE(Verifier.match("struct S { int x; };\n" in TEST()
130 EXPECT_TRUE(Verifier.match("#define MEMBER(a, b) (a->b)\n" in TEST()
139 EXPECT_TRUE(Verifier.match("struct S { int x; void Test(); };\n" in TEST()
147 EXPECT_TRUE(Verifier.match("int a[(int)(void*)1234];", in TEST()
154 EXPECT_TRUE(Verifier.match("class C { C(); };", functionDecl())); in TEST()
160 EXPECT_TRUE(Verifier.match("class C { C() = default; };", functionDecl())); in TEST()
166 EXPECT_TRUE(Verifier.match("class C { C() = delete; };", functionDecl())); in TEST()
172 EXPECT_TRUE(Verifier.match( in TEST()
180 EXPECT_TRUE(Verifier.match( in TEST()
189 EXPECT_TRUE(Verifier.match( in TEST()
197 EXPECT_TRUE(Verifier.match( in TEST()
215 EXPECT_TRUE(Verifier.match( in TEST()
224 EXPECT_TRUE(Verifier.match("int* a = new (int);", cxxNewExpr())); in TEST()
240 EXPECT_TRUE(Verifier.match( in TEST()
251 EXPECT_TRUE(Verifier.match( in TEST()
261 EXPECT_TRUE(Verifier.match( in TEST()
271 EXPECT_TRUE(Verifier.match( in TEST()
282 EXPECT_TRUE(Verifier.match( in TEST()
293 EXPECT_TRUE(Verifier.match( in TEST()
302 EXPECT_TRUE(Verifier.match( in TEST()
313 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
322 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
331 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
340 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
349 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
358 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
367 EXPECT_TRUE(Verifier.match("class B;\n" in TEST()
377 EXPECT_TRUE(Verifier.match("class B;\n" in TEST()
387 EXPECT_TRUE(Verifier.match("template <typename T>\n" in TEST()
397 EXPECT_TRUE(Verifier.match("template <typename T>\n" in TEST()
407 EXPECT_TRUE(Verifier.match("struct A;\n" in TEST()
418 EXPECT_TRUE(Verifier.match("struct A;\n" in TEST()
436 EXPECT_TRUE(ConstructorVerifier.match( in TEST()
440 EXPECT_TRUE(DestructorVerifier.match( in TEST()
454 EXPECT_TRUE(ConstructorVerifier.match( in TEST()
458 EXPECT_TRUE(DestructorVerifier.match( in TEST()
465 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
475 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
485 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
495 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
505 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
514 EXPECT_TRUE(Verifier.match("struct A {\n" in TEST()
523 EXPECT_TRUE(Verifier.match( in TEST()
536 EXPECT_TRUE(Verifier.match( in TEST()