Removes the newline before the right brace that's followed by an else on the next line.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D120873
[clang-format] Handle wrapped else for RemoveBracesLLVM ClosedPublic Authored by owenpan on Mar 2 2022, 11:51 PM.
Details Summary Removes the newline before the right brace that's followed by an else on the next line.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 3 2022, 1:03 AM This revision was landed with ongoing or failed builds.Mar 3 2022, 4:55 AM Closed by commit rG1aa608a0208b: [clang-format] Handle wrapped else for RemoveBracesLLVM (authored by owenpan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 412678 clang/lib/Format/Format.cpp
clang/unittests/Format/FormatTest.cpp
|