Changes to handle if constexpr the same way as if.
Looks good. Thanks for implementing this.
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).
Yes, I saw. As this version seems to handle the one-line case correctly, I submitted this one as r305666.