reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
146 const uint64_t ExpectedFoo = Sema.expectMatcher("Foo"); 147 const uint64_t ExpectedBar = Sema.expectMatcher("Bar"); 148 const uint64_t ExpectedBaz = Sema.expectMatcher("Baz"); 149 Sema.parse(" Foo ( Bar ( 17), Baz( \n \"B A,Z\") ) .bind( \"Yo!\") "); 150 for (const auto &E : Sema.Errors) { 158 EXPECT_EQ(1ULL, Sema.Values.size()); 159 EXPECT_EQ(ExpectedFoo, getSingleMatcher(Sema.Values[0])->getID().second); 161 EXPECT_EQ(3ULL, Sema.Matchers.size()); 162 const MockSema::MatcherInfo Bar = Sema.Matchers[0]; 168 const MockSema::MatcherInfo Baz = Sema.Matchers[1]; 174 const MockSema::MatcherInfo Foo = Sema.Matchers[2];