================ @@ -26588,10 +26613,7 @@ TEST_F(FormatTest, Cpp20ModulesSupport) { " int foo;\n" "};", Style); - verifyFormat("export {\n" - " int foo;\n" - "};", - Style); + verifyFormat("export { int foo; };", Style); ---------------- Sirraide wrote:
This is now controlled by `AllowShortBlocksOnASingleLine`. I opted against adding a separate option for export blocks for now because realistically, e.g. `export { int x; }` is not going to be very common considering that you can just write `export int x;`. https://github.com/llvm/llvm-project/pull/110381 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits