This is an archive of the discontinued LLVM Phabricator instance.

Make brace styles more configurable
ClosedPublic

Authored by djasper on Sep 28 2015, 6:15 AM.

Details

Reviewers
klimek
Summary

Add individual brace flags for the different aspects of wrapping braces and make Allman, GNU, etc. just presets for them.

This patch isn't complete yet, still need to verify the individual presets some more (I think we don't have full test coverage there) and comment, etc. For now, I'd like a second opinion on whether the approach is sound.

Diff Detail

Event Timeline

djasper updated this revision to Diff 35857.Sep 28 2015, 6:15 AM
djasper retitled this revision from to Make brace styles more configurable.
djasper updated this object.
djasper added a reviewer: klimek.
djasper added a subscriber: cfe-commits.
klimek accepted this revision.Sep 29 2015, 12:52 AM
klimek edited edge metadata.

lg

This revision is now accepted and ready to land.Sep 29 2015, 12:52 AM
djasper closed this revision.Sep 29 2015, 7:59 AM

Submitted as r248802.