[PATCH] D93240: [clang-format] Add SpaceBeforeCaseColon option

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 15 01:00:16 PST 2020


MyDeveloperDay added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:12115
+               "  break;\n"
                "}",
                InheritanceStyle);
----------------
maybe add a `default` example with {}

try not to change existing tests just add your own new ones


================
Comment at: clang/unittests/Format/FormatTest.cpp:12158
                "default:\n"
+               "  break;\n"
                "}",
----------------
Add new test leave the old one alone


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93240/new/

https://reviews.llvm.org/D93240



More information about the cfe-commits mailing list