reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
823 EXPECT_TRUE(matches(T, varDecl(hasName("x"), hasAutomaticStorageDuration()))); 825 notMatches(T, varDecl(hasName("y"), hasAutomaticStorageDuration()))); 827 notMatches(T, varDecl(hasName("a"), hasAutomaticStorageDuration()))); 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()))); 839 EXPECT_TRUE(notMatches(T, varDecl(hasName("x"), hasThreadStorageDuration()))); 840 EXPECT_TRUE(notMatches(T, varDecl(hasName("y"), hasThreadStorageDuration()))); 841 EXPECT_TRUE(notMatches(T, varDecl(hasName("a"), hasThreadStorageDuration())));