Searched refs:DeclCounter (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterGenericRedeclTest.cpp | 190 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition() 207 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u); in TypedTest_DefinitionShouldBeImportedAsADefinition() 226 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u); in TypedTest_ImportPrototypeAfterImportedPrototype() 248 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u); in TypedTest_ImportDefinitionAfterImportedPrototype() 270 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u); in TypedTest_ImportPrototypeAfterImportedDefinition() 293 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u); in TypedTest_ImportPrototypes() 317 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u); in TypedTest_ImportDefinitions() 340 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u); in TypedTest_ImportDefinitionThenPrototype() 365 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u); in TypedTest_ImportPrototypeThenDefinition() 386 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u); in TypedTest_WholeRedeclChainIsImportedAtOnce() [all …]
|
| H A D | ASTImporterTest.cpp | 1726 ASSERT_EQ(2u, DeclCounter<CXXRecordDecl>().match( in TEST_P() 1741 EXPECT_EQ(2u, DeclCounter<CXXRecordDecl>().match( in TEST_P() 2146 EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFP), 1u); in TEST_P() 2147 EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, DFP), 1u); in TEST_P() 2184 EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFP), 1u); in TEST_P() 2185 EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, DFP), 1u); in TEST_P() 2216 EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFP), 1u); in TEST_P() 2276 EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFP), 1u); in TEST_P() 2277 EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, DFP), 1u); in TEST_P() 3860 EXPECT_EQ(DeclCounter<RecordDecl>().match(ToTU, Pattern), 2u); in TEST_P() [all …]
|
| H A D | ASTImporterODRStrategiesTest.cpp | 279 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u); in CheckImportedAsNew() 294 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u); in CheckImportNameConflict() 301 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u); in CheckImportFoundExisting()
|
| H A D | DeclMatcher.h | 73 using DeclCounter = DeclCounterWithPredicate<NodeType>; variable
|