[PATCH] Add ContinuationIndentWidth option

Daniel Jasper djasper at google.com
Wed Oct 16 05:55:06 PDT 2013


  This is missing the test for the JSON parsing of the configuration flag (see ParsesConfiguration in unittests/Format/FormatTest.cpp).


================
Comment at: include/clang/Format/Format.h:238
@@ -237,1 +237,3 @@
 
+  /// \brief Indent width for lines broken in the middle of an expression.
+  unsigned ContinuationIndentWidth;
----------------
I think "of an expression" isn't really correct. Either make it "of a statement" (which still is incorrect) or maybe just "Indent width for line continuations.".


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



More information about the cfe-commits mailing list