[clang-format] Revert a feature in RemoveBracesLLVM
authorOwen Pan <owenpiano@gmail.com>
Thu, 3 Feb 2022 05:52:14 +0000 (21:52 -0800)
committerOwen Pan <owenpiano@gmail.com>
Thu, 3 Feb 2022 10:56:09 +0000 (02:56 -0800)
commiteaef54f21388350ca72d4dadf33728f70566e531
treed9ce7a0922044292c074c2c56dc31bf07b4eb5ea
parentc01548c7e07254d0f20493a718ee5e8f0499a9a2
[clang-format] Revert a feature in RemoveBracesLLVM

Revert the handling of a single-statement block that gets wrapped.

See issue #53543.

Differential Revision: https://reviews.llvm.org/D118873
clang/lib/Format/UnwrappedLineParser.cpp
clang/lib/Format/UnwrappedLineParser.h
clang/unittests/Format/FormatTest.cpp