This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] handle `if constexpr`
ClosedPublic

Authored by jtbandes on Jun 18 2017, 11:07 AM.

Details

Reviewers
djasper
Summary

Changes to handle if constexpr the same way as if.

Event Timeline

jtbandes created this revision.Jun 18 2017, 11:07 AM
djasper accepted this revision.Jun 18 2017, 10:54 PM

Looks good. Thanks for implementing this.

This revision is now accepted and ready to land.Jun 18 2017, 10:54 PM

Thanks for the review. Please note that there was a prior effort to implement this in D26953. However if you are happy with this version, feel free to commit (as I don’t have commit access).

djasper closed this revision.Jun 19 2017, 12:41 AM

Yes, I saw. As this version seems to handle the one-line case correctly, I submitted this one as r305666.