jacob-abraham updated this revision to Diff 466165. jacob-abraham added a comment.
Added regression test CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135422/new/ https://reviews.llvm.org/D135422 Files: clang/test/Format/macro.cpp Index: clang/test/Format/macro.cpp =================================================================== --- /dev/null +++ clang/test/Format/macro.cpp @@ -0,0 +1,5 @@ +// RUN: clang-format -style="{AllowShortCaseLabelsOnASingleLine: true}" %s > %t +// RUN: diff %s %t +#define X \ + case 0: break; +#include "f"
Index: clang/test/Format/macro.cpp =================================================================== --- /dev/null +++ clang/test/Format/macro.cpp @@ -0,0 +1,5 @@ +// RUN: clang-format -style="{AllowShortCaseLabelsOnASingleLine: true}" %s > %t +// RUN: diff %s %t +#define X \ + case 0: break; +#include "f"
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits