| 87 | } |
| 88 | |
| 89 | bool checkModOne(const Replacement &Expect, |
| 90 | const std::map<std::string, Replacements> &Result) { |
| 91 | auto Iter = Result.find(Expect.getFilePath().str()); |
| 92 | if (Iter == Result.end()) |
| 93 | return false; |
| 94 | |
| 95 | for (const auto &ResultReplace : Iter->second) { |
| 96 | if (ResultReplace == Expect) |
| 97 | return true; |
| 98 | } |
| 99 | |
| 100 | return false; |
| 101 | } |
| 102 | |
| 103 | std::unique_ptr<GenLoader> |
| 104 | createLoader(SourceFileManager &SFM, const std::set<std::string> APINames, |
nothing calls this directly
no test coverage detected