================
@@ -2885,6 +2885,22 @@ TEST_F(FormatTest, ShortEnums) {
                "  C\n"
                "} ShortEnum1, ShortEnum2;",
                Style);
+
+  Style.AllowShortEnumsOnASingleLine = true;
+  verifyFormat("enum\n"
+               "{\n"
+               "  A,\n"
+               "  B,\n"
+               "  C\n"
+               "} ShortEnum1, ShortEnum2;",
----------------
owenca wrote:

This is a separate issue unrelated to starting the line with `export`. I 
suggest that you file a separate issue if you think it's worthwhile to fix.

https://github.com/llvm/llvm-project/pull/189128
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to