aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/golang.org
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-02-15 14:48:08 +0100
committerJason Merrill <jason@redhat.com>2020-02-15 14:59:32 +0100
commit1e166191ef330f3491d405bf3eb09b2b796c9b0e (patch)
tree3c7f342cbc19b7cd380c94f786b955ffc31417ad /libgo/go/golang.org
parentd71365427670a791c5b54bfec6e3d41210844a8a (diff)
downloadgcc-1e166191ef330f3491d405bf3eb09b2b796c9b0e.zip
gcc-1e166191ef330f3491d405bf3eb09b2b796c9b0e.tar.gz
gcc-1e166191ef330f3491d405bf3eb09b2b796c9b0e.tar.bz2
c++: Fix lambda in atomic constraint.
find_template_parameters needs to find the mention of T in the lambda. Fixing that leaves this as a hard error, which may be surprising but is consistent with lambdas in other SFINAE contexts like template argument deduction. gcc/cp/ChangeLog 2020-02-15 Jason Merrill <jason@redhat.com> PR c++/92556 * pt.c (any_template_parm_r): Look into lambda body.
Diffstat (limited to 'libgo/go/golang.org')
0 files changed, 0 insertions, 0 deletions