klimek added inline comments. ================ Comment at: unittests/Tooling/RefactoringTest.cpp:112 @@ -111,4 +111,3 @@ -TEST_F(ReplacementTest, CanApplyReplacements) { - FileID ID = Context.createInMemoryFile("input.cpp", - "line1\nline2\nline3\nline4"); +static Replacements toReplacements(const std::set<Replacement> &Replaces) { + Replacements Result; ---------------- Looks like we should put this function into some header, so we don't need to re-implement it in every test?
https://reviews.llvm.org/D21748 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits