This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Revert a feature in RemoveBracesLLVM
ClosedPublic

Authored by owenpan on Feb 2 2022, 10:14 PM.

Details

Diff Detail

Event Timeline

owenpan requested review of this revision.Feb 2 2022, 10:14 PM
owenpan created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2022, 10:14 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
MyDeveloperDay accepted this revision.Feb 2 2022, 11:19 PM
This revision is now accepted and ready to land.Feb 2 2022, 11:19 PM
curdeius accepted this revision.Feb 3 2022, 2:04 AM

Ok, so now (until a new fix), it will always remove the braces for a single statement even if it's multi-line. That's fine.

Ok, so now (until a new fix), it will always remove the braces for a single statement even if it's multi-line. That's fine.

Yep.

This revision was landed with ongoing or failed builds.Feb 3 2022, 2:56 AM
This revision was automatically updated to reflect the committed changes.