=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
================
@@ -8575,6 +8575,19 @@ TEST_F(FormatTest, BreaksFunctionDeclarations) {
Style);
}
+TEST_F(FormatTest, BreakFunctionsReturningRecords) {
+ FormatStyle Style = getLLVMStyle();
+ Style.BreakBeforeBraces = FormatStyle::BS_Custom;
+ Style.BraceWrapping.AfterFunction = true;
+ Style.BraceWrapping.AfterClass = false;
+ Style.BraceWrapping.AfterStruct = false;
+ Style.BraceWrapping.AfterUnion = false;
----------------
owenca wrote:
Redundant.
https://github.com/llvm/llvm-project/pull/154580
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits