Streamline for_each_template_parm.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Oct 2015 16:19:55 +0000 (16:19 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Oct 2015 16:19:55 +0000 (16:19 +0000)
commit2d8d33b73c804689ecbf0b116015aa280f330a7d
treeeb24d290cd61c4f2a9b7ab6f08a383530f3ef77e
parent6cc56b65ed93f1510af2cbec36eb950b9a337f70
Streamline for_each_template_parm.

* pt.c (for_each_template_parm_r): Use WALK_SUBTREE.
Return a meaningful value rather than error_mark_node.
(for_each_template_parm): Return a tree.
(uses_template_parms_level): Return bool.
* cp-tree.h: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229628 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c