[PATCH] clang-format: Add option to break after definition return type for top-level functions only

Daniel Jasper djasper at google.com
Mon Jun 29 00:35:44 PDT 2015


Looks good. Thank you!


================
Comment at: docs/ClangFormatStyleOptions.rst:227-228
@@ +226,4 @@
+  * ``DRTBS_None`` (in configuration: ``None``)
+    Break after return type automatically. ``PenaltyReturnTypeOnItsOwnLine
+  ``  is taken into account.
+  * ``DRTBS_All`` (in configuration: ``All``)
----------------
This line break doesn't look good. Can you double-check why it is happening or slightly rephrase the text? Alternatively, I'll take a look after you submit.

http://reviews.llvm.org/D10774

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






More information about the cfe-commits mailing list