cp-tree.h (OVL_NESTED_P, [...]): New.
authorNathan Sidwell <nathan@acm.org>
Tue, 16 May 2017 18:29:36 +0000 (18:29 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 16 May 2017 18:29:36 +0000 (18:29 +0000)
commite09ae85766973a7b5ad9f9502a8cfa0180040d4f
treef88c3f27212d6bb2bfbe0c7ef8f6ced3cc679f27
parenta736411aca6ab397d453e4ec8613933d3b304ac2
cp-tree.h (OVL_NESTED_P, [...]): New.

* cp-tree.h (OVL_NESTED_P, OVL_LOOKUP_P): New.
(ovl_first): Move inline definition to end of file.
(ovl_make, lookup_add): Declare.
(get_fns, get_first_fn): Make pure.
* tree.c (ovl_cache): New.
(ovl_make, lookup_add): New.
* pt.c (do_class_deduction): Don't add candidates that will be
elided.

From-SVN: r248121
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/tree.c