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

References

tools/clang/unittests/AST/ASTImporterTest.cpp
 2256   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFP), 1u);
 2257   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, DFP), 1u);
 2258   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFDefP), 0u);
 2259   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, DFDefP), 0u);
 2262       ToTU, cxxRecordDecl(hasName("B")));
 2264       ToTU, cxxRecordDecl(hasName("D")));
 2265   auto *ToBFInClass = FirstDeclMatcher<CXXMethodDecl>().match(ToTU, BFP);
 2267       ToTU, cxxMethodDecl(hasName("f"), isDefinition()));
 2268   auto *ToDFInClass = FirstDeclMatcher<CXXMethodDecl>().match(ToTU, DFP);
 2270       ToTU, cxxMethodDecl(hasName("f"), isDefinition()));
 2277   EXPECT_EQ(ToBFOutOfClass->getLexicalDeclContext(), ToTU);
 2283   EXPECT_EQ(ToDFOutOfClass->getLexicalDeclContext(), ToTU);