cp-tree.h (lookup_add): Swap args.
authorNathan Sidwell <nathan@acm.org>
Thu, 18 May 2017 12:55:11 +0000 (12:55 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 18 May 2017 12:55:11 +0000 (12:55 +0000)
commit31ab89c14afc55c26ccaabebcff0bcfdd2c87369
treeff7e43e5e7f64802c6fe865992d5936778bd658e
parent6574d78eeac0e1ecddb05c6df33fa1b77e712bf6
cp-tree.h (lookup_add): Swap args.

* cp-tree.h (lookup_add): Swap args.
(ovl_cons, build_overload): Delete.
* name-lookup.c (add_function, push_overloaded_decl_1)
do_nonmember_using_decl, merge_functions, remove_hidden_names):
Use lookup_add, ovl_insert.
* pt.c (check_explicit_specialization): Use lookup_add.
(do_class_deduction): Likewise. Refactor if.
* tree.c (lookup_add): Swap args.
(ovl_cons, build_overload): Delete.
(--This line, and those below, will be ignored--

M    cp/cp-tree.h
M    cp/name-lookup.c
M    cp/pt.c
M    cp/ChangeLog
M    cp/tree.c

From-SVN: r248198
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/cp/tree.c