Jason Merrill
2014-10-03 16:47:44 UTC
These patches implement a couple bits of the C++14 constexpr enhancements.
The first patch adds support for local variables in a constexpr function
with intializers that can just be substituted into the return expression.
The second patch adds diagnostics for things that are still not
permitted in a constexpr function.
Tested x86_64-pc-linux-gnu, applying to trunk.
The first patch adds support for local variables in a constexpr function
with intializers that can just be substituted into the return expression.
The second patch adds diagnostics for things that are still not
permitted in a constexpr function.
Tested x86_64-pc-linux-gnu, applying to trunk.