[PATCH] Added testing to test migration of files in a compilation database

Edwin Vane edwin.vane at intel.com
Thu Sep 19 10:41:46 PDT 2013


  If you see value in it, I'd suggest splitting this main.cpp into a bunch of smaller files that do one test each. Easier to identify errors.


================
Comment at: test/clang-modernize/Compilations/main.cpp:17
@@ +16,3 @@
+
+// RUN: cp %S/Inputs/compilations_expected.cpp %T
+// RUN: cp %S/Inputs/cpp11_expected.cpp %T
----------------
Don't need to copy these files to the test directory since they're read-only. Can just read them from %S.


http://llvm-reviews.chandlerc.com/D1710



More information about the cfe-commits mailing list