reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
  353   EXPECT_TRUE(matches("void foo(){}", D));
  354   EXPECT_TRUE(matches("struct Foo{};", D));
  355   EXPECT_FALSE(matches("int i = 0;", D));
  357   D = constructMatcher(
  366   EXPECT_FALSE(matches("void foo(){}", D));
  367   EXPECT_TRUE(matches("struct Foo{};", D));
  368   EXPECT_FALSE(matches("int i = 0;", D));
  369   EXPECT_TRUE(matches("class Bar{};", D));
  370   EXPECT_FALSE(matches("class OtherBar{};", D));
  372   D = recordDecl(
  380   EXPECT_FALSE(matches("class Bar{ int Foo; };", D));
  381   EXPECT_TRUE(matches("class OtherBar{ int Foo; };", D));
  383   D = constructMatcher(
  387   EXPECT_TRUE(matches("void Foo(){}", D));
  388   EXPECT_TRUE(notMatches("struct Foo {};", D));