aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-11-06 12:11:01 -0800
committerNathan Sidwell <nathan@acm.org>2020-11-09 05:09:50 -0800
commit4081596e852a3a1c2baaa5aa5bb539a8de1a78a3 (patch)
tree039f56ab84191536cfbb0c27ded6f402062118c2 /gcc/tree-vect-patterns.c
parentede8cfb8a450ff95f5c510605de76958613dc4a5 (diff)
downloadgcc-4081596e852a3a1c2baaa5aa5bb539a8de1a78a3.zip
gcc-4081596e852a3a1c2baaa5aa5bb539a8de1a78a3.tar.gz
gcc-4081596e852a3a1c2baaa5aa5bb539a8de1a78a3.tar.bz2
c++: Consistently expose singleton overloads
This is a patch from my name-lookup overhaul. I noticed the parser and one path in name-lookup looked through an overload of a single known decl. It seems more consistent to do that in both paths through name-lookup, and not in the parser itself. gcc/cp/ * name-lookup.c (lookup_qualified_name): Expose an overload of a singleton with known type. (lookup_name_1): Just check the overload's type to expose it. * parser.c (cp_parser_lookup_name): Do not do that check here.
Diffstat (limited to 'gcc/tree-vect-patterns.c')
0 files changed, 0 insertions, 0 deletions