This is an archive of the discontinued LLVM Phabricator instance.

Revert "[clang-format] Adjust braced list detection"
ClosedPublic

Authored by krasimir on Dec 19 2021, 5:49 AM.

Details

Summary

It appears that this regressed the formatting of initializer lists in some
cases, see comments on https://reviews.llvm.org/D114583. I'll follow-up
by adding regression tests for these.

This reverts commit c41b3b0fa0f4f70aad8deaf48bcd42a04385066c.

Diff Detail

Event Timeline

krasimir requested review of this revision.Dec 19 2021, 5:49 AM
krasimir created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 19 2021, 5:49 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
krasimir added a project: Restricted Project.
krasimir added a subscriber: cpplearner.
MyDeveloperDay accepted this revision.Dec 19 2021, 7:01 AM

I think we have to do this as the fix broke more than it fixed.

This revision is now accepted and ready to land.Dec 19 2021, 7:01 AM
This revision was landed with ongoing or failed builds.Dec 19 2021, 7:05 AM
This revision was automatically updated to reflect the committed changes.