Home
last modified time | relevance | path

Searched refs:ExpectMatch (Results 1 – 7 of 7) sorted by relevance

/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestDeclVisitor.cpp27 Visitor.ExpectMatch("i", 2, 17); in TEST()
54 Visitor.ExpectMatch("", 1, 7); in TEST()
55 Visitor.ExpectMatch("", 3, 7); in TEST()
84 Visitor.ExpectMatch("A<bool>", 1, 26); in TEST()
85 Visitor.ExpectMatch("A<char *>", 2, 26); in TEST()
95 Visitor.ExpectMatch("A<int>", 1, 29); in TEST()
103 Visitor.ExpectMatch("A<int>::B<char>", 2, 31); in TEST()
113 Visitor.ExpectMatch("A<int>", 1, 26); in TEST()
121 Visitor.ExpectMatch("A<int>::B<char>", 2, 35); in TEST()
132 Visitor.ExpectMatch("vector_iterator<int>", 2, 7); in TEST()
DRecursiveASTVisitorTestExprVisitor.cpp27 Visitor.ExpectMatch("", 1, 9); in TEST()
48 Visitor.ExpectMatch("X", 2, 40); in TEST()
69 Visitor.ExpectMatch("true", 2, 19); in TEST()
94 Visitor.ExpectMatch("Simple", 2, 8); in TEST()
136 Visitor.ExpectMatch("WithCtor", 2, 8); in TEST()
173 Visitor.ExpectMatch("x", 2, 3); in TEST()
180 Visitor.ExpectMatch("x", 2, 25); in TEST()
181 Visitor.ExpectMatch("x", 2, 30); in TEST()
190 Visitor.ExpectMatch("x", 1, 22); in TEST()
209 Visitor.ExpectMatch("s", 1, 24); in TEST()
[all …]
DRecursiveASTVisitorTestTypeLocVisitor.cpp27 Visitor.ExpectMatch("class X", 1, 30); in TEST()
33 Visitor.ExpectMatch("class X", 3, 18); in TEST()
42 Visitor.ExpectMatch("class X", 2, 18); in TEST()
50 Visitor.ExpectMatch("X<class Y>", 2, 18); in TEST()
58 Visitor.ExpectMatch("class X", 2, 23); in TEST()
67 Visitor.ExpectMatch("struct S", 1, 26); in TEST()
75 Visitor.ExpectMatch("NSNumber", 2, 33); in TEST()
DRecursiveASTVisitorTest.cpp43 Visitor.ExpectMatch("", 1, 12); in TEST()
69 Visitor.ExpectMatch("", 1, 20); in TEST()
122 Visitor.ExpectMatch("Attr", 4, 24); in TEST()
123 Visitor.ExpectMatch("guarded_by", 4, 24); in TEST()
124 Visitor.ExpectMatch("mu1", 4, 35); in TEST()
125 Visitor.ExpectMatch("Attr", 5, 29); in TEST()
126 Visitor.ExpectMatch("mu1", 5, 54); in TEST()
127 Visitor.ExpectMatch("mu2", 5, 59); in TEST()
DRecursiveASTVisitorTestCallVisitor.cpp29 Visitor.ExpectMatch("Y::x", 3, 3); in TEST()
40 Visitor.ExpectMatch("Y::x", 4, 5); in TEST()
53 Visitor.ExpectMatch("A::x", 5, 7); in TEST()
71 Visitor.ExpectMatch("A::x", 6, 20); in TEST()
88 Visitor.ExpectMatch("A::f", 4, 5); in TEST()
113 Visitor.ExpectMatch("()", 4, 9); in TEST()
DTestVisitor.h131 void ExpectMatch(Twine Match, unsigned Line, unsigned Column) { in ExpectMatch() function
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.h63 const std::string &Code, const T &AMatcher, bool ExpectMatch,
92 if (!Found && ExpectMatch) {
95 } else if (Found && !ExpectMatch) {
134 const std::string &Code, const T &AMatcher, bool ExpectMatch, in matchesConditionallyWithCuda() argument
177 if (!Found && ExpectMatch) { in matchesConditionallyWithCuda()
180 } else if (Found && !ExpectMatch) { in matchesConditionallyWithCuda()