[PATCH] D125171: Add a new clang-format option AlwaysBreakBeforeFunctionParameters

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 23 02:22:14 PDT 2023


MyDeveloperDay added inline comments.


================
Comment at: clang/docs/ClangFormatStyleOptions.rst:3663
 
+.. _Macros:
+
----------------
jrmolin wrote:
> I didn't modify this section in the header at all. I assume someone modified the Format.h file and didn't update the docs.
that needs to be looked at, as to what changed that meant it changed and done separately.


================
Comment at: clang/docs/ClangFormatStyleOptions.rst:3699
+     'A(a, b) will not be expanded.
+
 .. _MaxEmptyLinesToKeep:
----------------
This won't generate without a /version, we need to get this fixed outside of this commit


================
Comment at: clang/include/clang/Format/Format.h:823
+  /// \endcode
+  /// \version 16
+  bool AlwaysBreakBeforeFunctionParameters;
----------------
16.0


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125171/new/

https://reviews.llvm.org/D125171



More information about the cfe-commits mailing list