[clang] [clang-format] Add BreakFunctionDefinitionParameters option (PR #84988)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 26 12:04:40 PDT 2024


================
@@ -7951,6 +7951,24 @@ TEST_F(FormatTest, AllowAllArgumentsOnNextLineDontAlign) {
                Input, Style);
 }
 
+TEST_F(FormatTest, BreakFunctionDefinitionParameters) {
----------------
HazardyKnusperkeks wrote:

As I understand you want this, so that you can put all arguments on a single line. My advice is put that in the tests also, so no one could break it by accident.

https://github.com/llvm/llvm-project/pull/84988


More information about the cfe-commits mailing list