[PATCH] Refactor the formatter of clang-format.

Manuel Klimek klimek at google.com
Mon May 11 00:39:33 PDT 2015


================
Comment at: lib/Format/UnwrappedLineFormatter.h:42-44
@@ -67,1 +41,5 @@
+  /// \brief Format the current block and return the penalty.
+  unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines,
+                  const bool DryRun = false, const int AdditionalIndent = 0,
+                  const bool FixBadIndentation = false);
 
----------------
djasper wrote:
> I think 'const' isn't really necessary.
Done.

http://reviews.llvm.org/D9597

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list