[PATCH] D24192: [clang-refactor] introducing clang-refactor

Alexander Shaposhnikov via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 3 20:21:33 PDT 2016


alexshap added a subscriber: alexshap.

================
Comment at: clang-refactor/driver/Rename.h:192
@@ +191,3 @@
+      auto ID = Sources.translateFile(Entry);
+      Rewrite.getEditBuffer(ID).write(outs());
+    }
----------------
if i am not mistaken if the file has not been modified this will print smth like
"invalid source location" or similar. Pls, double check me.


https://reviews.llvm.org/D24192





More information about the cfe-commits mailing list