Call mightFitOneOneline() on the line before the closing brace only if it is at the level of the block.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D127614
[clang-format] Handle more cases for RemoveBracesLLVM ClosedPublic Authored by owenpan on Jun 13 2022, 12:23 AM.
Details Summary Call mightFitOneOneline() on the line before the closing brace only if it is at the level of the block.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 13 2022, 1:11 AM This revision was landed with ongoing or failed builds.Jun 13 2022, 12:10 PM Closed by commit rG7cb0bc8abf6e: [clang-format] Handle more cases for RemoveBracesLLVM (authored by owenpan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 436507 clang/lib/Format/UnwrappedLineParser.cpp
clang/unittests/Format/FormatTest.cpp
|