Fix type_dependent_expression_p of member templates.
authorJason Merrill <jason@redhat.com>
Tue, 21 Jun 2016 18:17:01 +0000 (14:17 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 21 Jun 2016 18:17:01 +0000 (14:17 -0400)
commite547455bd62b59821c4ab9e900d7d0ff14fd69c8
tree910a4bc2bef89f21068d13e924412267a208fe6a
parent89192c3c536188bcbb2c99e47106b66eb520bd42
Fix type_dependent_expression_p of member templates.

* pt.c (template_parm_outer_level, uses_outer_template_parms): New.
(type_dependent_expression_p): Use uses_outer_template_parms.

From-SVN: r237654
gcc/cp/ChangeLog
gcc/cp/pt.c