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

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  309   REGISTER_MATCHER(hasStaticStorageDuration);
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
 1093               to(varDecl(hasStaticStorageDuration()).bind(DeclBind)))));
tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp
   27       varDecl(anyOf(hasThreadStorageDuration(), hasStaticStorageDuration()),
tools/clang/tools/extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp
   42                                       varDecl(hasStaticStorageDuration()))),
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
  829   EXPECT_TRUE(matches(T, varDecl(hasName("y"), hasStaticStorageDuration())));
  830   EXPECT_TRUE(matches(T, varDecl(hasName("a"), hasStaticStorageDuration())));
  831   EXPECT_TRUE(matches(T, varDecl(hasName("b"), hasStaticStorageDuration())));
  832   EXPECT_TRUE(matches(T, varDecl(hasName("c"), hasStaticStorageDuration())));
  833   EXPECT_TRUE(notMatches(T, varDecl(hasName("x"), hasStaticStorageDuration())));