reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2196 EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFP), 1u); 2197 EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFDefP), 0u); 2200 ToTU, cxxRecordDecl(hasName("B"))); 2201 auto *ToBFInClass = FirstDeclMatcher<CXXMethodDecl>().match(ToTU, BFP); 2203 ToTU, cxxMethodDecl(hasName("f"), isDefinition())); 2210 EXPECT_EQ(ToBFOutOfClass->getLexicalDeclContext(), ToTU);