From 6e79e0b92edab63e498d3a5c20d8db51d1234dca Mon Sep 17 00:00:00 2001 From: James R <justsomejames2@gmail.com> Date: Fri, 10 Feb 2023 07:12:38 -0800 Subject: [PATCH] clang-format: really avoid return type alone on line Should fix some instances of very long lines doing the following: void fn( ...really long parameter list... ) --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index 085cde61f9..e1599848df 100644 --- a/.clang-format +++ b/.clang-format @@ -55,3 +55,4 @@ SpacesInConditionalStatement: false SpacesInContainerLiterals: false SpacesInParentheses: false SpacesInSquareBrackets: false +PenaltyReturnTypeOnItsOwnLine: 1000 -- GitLab