This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

owenpan created this revision.Jun 13 2022, 12:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 13 2022, 12:23 AM
owenpan requested review of this revision.Jun 13 2022, 12:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 13 2022, 12:23 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
curdeius accepted this revision.Jun 13 2022, 1:11 AM
This 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
This revision was automatically updated to reflect the committed changes.