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

References

tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
  801   EXPECT_TRUE(matches("void f() { int X; }", M));
  802   EXPECT_TRUE(notMatches("int X;", M));
  803   EXPECT_TRUE(notMatches("void f() { static int X; }", M));
  805   M = varDecl(hasName("X"), hasGlobalStorage());
  806   EXPECT_TRUE(notMatches("void f() { int X; }", M));
  807   EXPECT_TRUE(matches("int X;", M));
  808   EXPECT_TRUE(matches("void f() { static int X; }", M));