[PATCH] D35190: __builtin_constant_p should consider the parameter of a constexpr function as constant

Joerg Sonnenberger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 12 06:28:17 PDT 2017


joerg added a comment.

What if the constexpr function is called with in a non-constexpr context, e.g. with a random global variable as argument?


https://reviews.llvm.org/D35190





More information about the cfe-commits mailing list