[PATCH] clang-replace: Write merged changes to disk

Manuel Klimek klimek at google.com
Thu Aug 22 03:03:54 PDT 2013


  generally lg


================
Comment at: clang-replace/ApplyReplacements.cpp:210
@@ +209,3 @@
+    if (!ErrorInfo.empty()) {
+      errs() << "Unable to open " << FileName << " for writing\n";
+      return false;
----------------
Since we're already using Diagnostics for everything else, might it make sense to use them here, too?


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

BRANCH
  apply_changes

ARCANIST PROJECT
  clang-tools-extra



More information about the cfe-commits mailing list