[PATCH] D125959: [clang-format] Fix a bug in "AfterControlStatement: MultiLine"

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat May 21 14:44:16 PDT 2022


owenpan added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:3213
   Style.BraceWrapping.AfterFunction = true;
-  Style.BraceWrapping.AfterControlStatement = FormatStyle::BWACS_MultiLine;
   Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All;
----------------
curdeius wrote:
> This seems unrelated, is it so really?
It's redundant but unrelated. We can delete it in a separate patch when replacing every `EXPECT_EQ` with a `verifyFormat`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125959



More information about the cfe-commits mailing list