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

References

tools/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
  167   EXPECT_FALSE(matches(code, HasInitializerSimple));
  168   EXPECT_FALSE(matches(code, HasInitializerComplex));
  170   code = "int i = 1;";
  171   EXPECT_TRUE(matches(code, HasInitializerSimple));
  172   EXPECT_FALSE(matches(code, HasInitializerComplex));
  174   code = "int y(); int i = y();";
  175   EXPECT_TRUE(matches(code, HasInitializerSimple));
  176   EXPECT_TRUE(matches(code, HasInitializerComplex));