[PATCH] D125171: Add a new clang-format option AlwaysBreakBeforeFunctionParameters
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 30 03:33:39 PDT 2023
MyDeveloperDay added inline comments.
================
Comment at: clang/docs/ClangFormatStyleOptions.rst:1374
+**AlwaysBreakBeforeFunctionParameters** (``Boolean``) :versionbadge:`clang-format 16.0` :ref:`ΒΆ <AlwaysBreakBeforeFunctionParameters>`
+ If ``true``, always break before function parameters in a declaration.
+
----------------
here you say declaration but don't we want the same in definition too? otherewise should it be `AlwaysBreakBeforeFunctionDefinitionParameters` if you are expecting something else?
================
Comment at: clang/docs/ClangFormatStyleOptions.rst:1380
+ Example uses
+ ``AlwaysBreakAfterReturnType`` set to ``All``.
+
----------------
This isn't relevant is it? `AlwaysBreakAfterReturnType`
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