[PATCH] Let clang-format move the cursor appropriately.

Daniel Jasper djasper at google.com
Fri May 17 09:08:52 PDT 2013



================
Comment at: tools/clang-format/ClangFormat.cpp:142
@@ +141,3 @@
+  }
+  return Offset + ShiftedBy;
+}
----------------
Manuel Klimek wrote:
> For that amount of logic, more tests? :)
I agree to some extend. Do you see a better way than to add one FileCheck file per test case?

Or should we move this into the Tooling library and unit-test it there?


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



More information about the cfe-commits mailing list