diff options
author | Jason Merrill <jason@redhat.com> | 2018-12-15 17:10:18 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2018-12-15 17:10:18 -0500 |
commit | 54d04ce91ae8e6a2d647200f9443556e6fadc9e2 (patch) | |
tree | 6ea880a1eb31c5cbfb7eea13dac3082a4fe1737d /gcc/cp/except.c | |
parent | f714ecf522782f76d7d9d9826fe1bcd23259cf24 (diff) | |
download | gcc-54d04ce91ae8e6a2d647200f9443556e6fadc9e2.zip gcc-54d04ce91ae8e6a2d647200f9443556e6fadc9e2.tar.gz gcc-54d04ce91ae8e6a2d647200f9443556e6fadc9e2.tar.bz2 |
Small lambda instantiation tweak.
While looking at something else I noticed that we were passing 0 to the
"nonclass" parameter here; we might as well pass 1, since capture proxies
are always at block scope.
* pt.c (tsubst_expr) [DECL_EXPR]: Ignore class-scope bindings when
looking up a capture proxy.
From-SVN: r267176
Diffstat (limited to 'gcc/cp/except.c')
0 files changed, 0 insertions, 0 deletions