* cp-tree.h (lookup_add): Swap args.
commit6f6c873e4ff09265fe96c08d58a72db98abc0678
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 May 2017 12:55:11 +0000 (18 12:55 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 May 2017 12:55:11 +0000 (18 12:55 +0000)
treeff7e43e5e7f64802c6fe865992d5936778bd658e
parent781732032760592d6ee80a7597542148ba9eff2e
* 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

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