[PATCH] D151761: clang-format: Add AlignConsecutiveShortCaseStatements

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 5 01:12:34 PDT 2023


MyDeveloperDay added a comment.

did you consider a case where the case falls through? (i.e. no return)

  "case log::info :    return \"info\";\n"
  "case log::warning :\n"
  "default :           return \"default\";\n"


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

https://reviews.llvm.org/D151761



More information about the cfe-commits mailing list