This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Handle comments below r_brace in RemoveBracesLLVM
ClosedPublic

Authored by owenpan on May 12 2022, 12:56 AM.

Details

Summary

If a closing brace is followed by a non-trailing comment, the newline before the closing brace must also be removed.

Diff Detail

Event Timeline

owenpan created this revision.May 12 2022, 12:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2022, 12:56 AM
owenpan requested review of this revision.May 12 2022, 12:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2022, 12:56 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
owenpan added a project: Restricted Project.May 12 2022, 12:57 AM
This revision is now accepted and ready to land.May 12 2022, 3:35 AM
curdeius accepted this revision.May 12 2022, 4:46 AM
This revision was landed with ongoing or failed builds.May 12 2022, 4:51 PM
This revision was automatically updated to reflect the committed changes.