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

References

tools/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
  332   EXPECT_TRUE(matches("void foo() { for(int X;;); }", S));
  333   EXPECT_TRUE(matches("void foo() { for(;;) { int X; } }", S));
  334   EXPECT_FALSE(matches("void foo() { for(;;); }", S));
  335   EXPECT_FALSE(matches("void foo() { if (int X = 0){} }", S));
  337   S = constructMatcher(
  340   EXPECT_TRUE(matches("void foo() { if (true) { int x = 42; } }", S));
  341   EXPECT_FALSE(matches("void foo() { if (true) return; }", S));