Page MenuHomePhabricator

[clang-format] handle `if constexpr`

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



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.