This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Rework removeBraces() in Format.cpp
ClosedPublic

Authored by owenpan on Aug 25 2022, 11:32 PM.

Diff Detail

Event Timeline

owenpan created this revision.Aug 25 2022, 11:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2022, 11:32 PM
owenpan requested review of this revision.Aug 25 2022, 11:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2022, 11:32 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
owenpan added a project: Restricted Project.Aug 25 2022, 11:34 PM
owenpan removed a subscriber: Restricted Project.
owenpan added inline comments.Aug 25 2022, 11:43 PM
clang/lib/Format/Format.cpp
1914

Deleted by mistake. Will add it back before landing.

This revision is now accepted and ready to land.Aug 26 2022, 2:15 AM
owenpan added inline comments.Aug 27 2022, 1:48 PM
clang/lib/Format/Format.cpp
1914

Actually, it can (and should) be deleted as it was related to line 1918 below.

This revision was automatically updated to reflect the committed changes.