[PATCH] Transform all files in a compilation database if no source files are provided.

Ariel Bernal ariel.j.bernal at intel.com
Tue Aug 27 10:31:51 PDT 2013



================
Comment at: cpp11-migrate/tool/Cpp11Migrate.cpp:257
@@ +256,3 @@
+          // if the file is included when include/exclude paths are specified.
+          if (IncludePaths.empty() ||
+              GlobalOptions.ModifiableFiles.isFileIncluded(*I))
----------------
Ariel Bernal wrote:
> Isn't this enough to test if include paths is empty? (Although it should be moved out the loop).
ok it is not, IncludeExcludeInfo could be populated from a file.


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



More information about the cfe-commits mailing list