]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/85706 - class deduction under decltype
authorJason Merrill <jason@redhat.com>
Wed, 9 May 2018 02:08:52 +0000 (22:08 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 9 May 2018 02:08:52 +0000 (22:08 -0400)
commit655b16da125b1210096b2f394ba0f222631fb44b
tree2ef60e2d4df2148fc0df8ab3e39ea8ace4d624cf
parent6f9a76b1a1937ca399a79515005dc0dad97f694c
PR c++/85706 - class deduction under decltype

* pt.c (for_each_template_parm_r): Handle DECLTYPE_TYPE.  Clear
*walk_subtrees whether or not we walked into the operand.
(type_uses_auto): Only look at deduced contexts.

From-SVN: r260066
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/concepts/class-deduction2.C [new file with mode: 0644]