aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/except.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2018-12-15 17:10:18 -0500
committerJason Merrill <jason@gcc.gnu.org>2018-12-15 17:10:18 -0500
commit54d04ce91ae8e6a2d647200f9443556e6fadc9e2 (patch)
tree6ea880a1eb31c5cbfb7eea13dac3082a4fe1737d /gcc/cp/except.c
parentf714ecf522782f76d7d9d9826fe1bcd23259cf24 (diff)
downloadgcc-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