diff options
author | Adam Butcher <adam@jessamine.co.uk> | 2013-09-12 19:54:42 +0100 |
---|---|---|
committer | Adam Butcher <abutcher@gcc.gnu.org> | 2013-09-12 19:54:42 +0100 |
commit | 1c1880fcc6ca93f7ac589122448b605f4a3617af (patch) | |
tree | a6f6b2c23f5262d18787189b8876f20b0297dd79 /gcc/cp/lambda.c | |
parent | 84f6d9fa3de366017eafa07730e2ee9a1886f3d7 (diff) | |
download | gcc-1c1880fcc6ca93f7ac589122448b605f4a3617af.zip gcc-1c1880fcc6ca93f7ac589122448b605f4a3617af.tar.gz gcc-1c1880fcc6ca93f7ac589122448b605f4a3617af.tar.bz2 |
Support decl instantiation in function-local templates.
* pt.c (instantiate_decl): Save/restore cp_unevaluated_operand and
c_inhibit_evaluation_warnings. Reset if instantiating within a
function-local template.
From-SVN: r202538
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions