Searched refs:notMatches (Results 1 – 6 of 6) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 59 EXPECT_TRUE(notMatches("class X {};", YHasClassX)); in TEST() 61 notMatches("class Y { class Z { class X {}; }; };", YHasClassX)); in TEST() 158 EXPECT_TRUE(notMatches("", NotClassX)); in TEST() 159 EXPECT_TRUE(notMatches("class Y {};", NotClassX)); in TEST() 161 EXPECT_TRUE(notMatches("class Y {}; class X : public Y {};", NotClassX)); in TEST() 163 notMatches("class Y {}; class Z {}; class X : public Y {};", in TEST() 173 EXPECT_TRUE(notMatches("class X { class Y {}; class Z {}; };", in TEST() 179 EXPECT_TRUE(notMatches("struct Foo {};", NamedNotRecord)); in TEST() 185 EXPECT_TRUE(notMatches("char *p = 0;", in TEST() 205 EXPECT_TRUE(notMatches("class Z {};", ZDescendantClassX)); in TEST() [all …]
|
D | ASTMatchersNodeTest.cpp | 35 EXPECT_TRUE(notMatches("", decl(usingDecl()))); in TEST() 50 EXPECT_TRUE(notMatches("#define X 1", NamedX)); in TEST() 63 EXPECT_TRUE(notMatches("#define Xkl 1", NamedX)); in TEST() 72 EXPECT_TRUE(notMatches("int cab;", Abc)); in TEST() 80 EXPECT_TRUE(notMatches("class C { int ckc; };", StartsWithK)); in TEST() 95 EXPECT_TRUE(notMatches("", ClassX)); in TEST() 115 EXPECT_TRUE(notMatches("void foo() {};", linkageSpecDecl())); in TEST() 120 EXPECT_TRUE(notMatches("class X;", ClassX)); in TEST() 121 EXPECT_TRUE(notMatches("class X {};", ClassX)); in TEST() 131 EXPECT_TRUE(notMatches("template<typename T> class X { };" in TEST() [all …]
|
D | ASTMatchersTraversalTest.cpp | 25 EXPECT_TRUE(notMatches("class A { void func(); };", in TEST() 47 EXPECT_TRUE(notMatches( in TEST() 77 EXPECT_TRUE(notMatches("void f() { float f = 2.0f; }", in TEST() 106 EXPECT_TRUE(notMatches("int** i;", in TEST() 118 EXPECT_TRUE(notMatches( in TEST() 130 EXPECT_TRUE(notMatches( in TEST() 142 EXPECT_TRUE(notMatches( in TEST() 151 EXPECT_TRUE(notMatches("class A {};", TypeA)); in TEST() 158 EXPECT_TRUE(notMatches("class A {};", TypeA)); in TEST() 192 EXPECT_TRUE(notMatches("template <typename T> struct S {" in TEST() [all …]
|
D | ASTMatchersInternalTest.cpp | 26 EXPECT_TRUE(notMatches("class X {};", HasEmptyName)); in TEST() 33 EXPECT_TRUE(notMatches("class X {};", HasEmptyName)); in TEST() 40 EXPECT_TRUE(notMatches("class X {};", IsDerivedFromEmpty)); in TEST() 197 EXPECT_TRUE(notMatches("", recordDecl(isExpansionInMainFile()))); in TEST() 214 EXPECT_TRUE(notMatches("class X {};", in TEST() 216 EXPECT_TRUE(notMatches("", recordDecl(isExpansionInSystemHeader()))); in TEST()
|
D | ASTMatchersTest.h | 113 testing::AssertionResult notMatches(const std::string &Code, in notMatches() function
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | RegistryTest.cpp | 389 EXPECT_TRUE(notMatches("struct Foo {};", D)); in TEST_F()
|