| 52 | } |
| 53 | |
| 54 | const CXXMethodDecl * |
| 55 | GoogleTestExtractor::findTestMethod(const CXXRecordDecl *TestCXXRecordDecl, |
| 56 | std::string TestMethodName) { |
| 57 | std::vector<CXXMethodDecl *> TestMethods = |
| 58 | util::findCXXMethodDeclFromCXXRecordDecls(TestCXXRecordDecl, |
| 59 | TestMethodName); |
| 60 | if (!TestMethods.empty()) |
| 61 | return TestMethods.back(); |
| 62 | return nullptr; |
| 63 | } |
| 64 | |
| 65 | const CXXMethodDecl *GoogleTestExtractor::findTestMethodRecursively( |
| 66 | const CXXRecordDecl *ClassCXXRecordDecl, std::string TargetMethodName) { |
nothing calls this directly
no test coverage detected