[PATCH] D19957: clang-rename: when renaming a field, rename initializers of that field as well

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Sat May 7 05:45:08 PDT 2016


klimek accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: test/clang-rename/FieldTest.cpp:7-9
@@ +6,5 @@
+};
+// RUN: cat %s > %t.cpp
+// RUN: clang-rename -offset=18 -new-name=hector %t.cpp -i --
+// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s
+
----------------
Any reason you put the run lines down there, btw? Usually we put them at the top :)


http://reviews.llvm.org/D19957





More information about the cfe-commits mailing list