================
@@ -27321,6 +27321,23 @@ TEST_F(FormatTest, IndentAccessModifiers) {
" int i;\n"
"};",
Style);
+
+ Style.BreakBeforeBraces = FormatStyle::BS_Whitesmiths;
+ verifyFormat("struct S\n"
+ " {\n"
+ " public:\n"
+ " int i;\n"
+ "\n"
+ " private:\n"
+ " class C\n"
+ " {\n"
+ " private:\n"
+ " int j;\n"
+ " };\n"
+ " };\n",
----------------
owenca wrote:
```suggestion
" };",
```
https://github.com/llvm/llvm-project/pull/182432
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits