aboutsummaryrefslogtreecommitdiff
path: root/libcpp/files.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2018-10-31 12:42:35 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2018-10-31 12:42:35 +0000
commit8e82c473f504c32c840daf09a347795b62b46fa3 (patch)
treeee26394844175b85128db36fa5c68d04f2c8e7a1 /libcpp/files.c
parent0db78d0a5e95572841a98754dca6c3513a3a334d (diff)
downloadgcc-8e82c473f504c32c840daf09a347795b62b46fa3.zip
gcc-8e82c473f504c32c840daf09a347795b62b46fa3.tar.gz
gcc-8e82c473f504c32c840daf09a347795b62b46fa3.tar.bz2
[C++ PATCH] Simplify overloads
https://gcc.gnu.org/ml/gcc-patches/2018-10/msg02026.html gcc/cp/ * cp-tree.h (OVL_DEDUP_P): New. * name-lookup.c (name_lookup::add_overload): Check OVL_DEDUP_P. (get_class_binding_direct): Likwise. * tree.c (ovl_make): Propagate OVL_DEDUP_P. (ovl_copy): Copy it. (ovl_insert): Do not keep using-decls ordered. (lookup_maybe_add): Adjust comment. gcc/testsuite/ * g++.dg/lookup/using60.C: New. From-SVN: r265679
Diffstat (limited to 'libcpp/files.c')
0 files changed, 0 insertions, 0 deletions