[PATCH] D24158: Try contextually converting condition of constexpr if to Boolean value

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 6 19:04:44 PDT 2016

rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

Thanks, LGTM.

If you're looking for more issues in this area -- in passing I noticed that we fail to apply the "contextually converted constant expression of type bool" rules properly in the other cases where they apply, either (the operand of `static_assert` and `noexcept`).


More information about the cfe-commits mailing list