diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-09 10:46:58 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-10 05:21:52 -0800 |
commit | 79c1b9fb44ce9abd0e2f6642b65684b9721233ee (patch) | |
tree | 5627ac7623fde38782d6babcb853ee7608814be0 /intl | |
parent | 2e6562043c48c0ae6bc9823d438685269eb11aab (diff) | |
download | gcc-79c1b9fb44ce9abd0e2f6642b65684b9721233ee.zip gcc-79c1b9fb44ce9abd0e2f6642b65684b9721233ee.tar.gz gcc-79c1b9fb44ce9abd0e2f6642b65684b9721233ee.tar.bz2 |
c++: name-lookup cleanups
Name-lookup is the most changed piece of the front end for modules.
Here are some preparatort cleanups and API extensions.
gcc/cp/
* name-lookup.h (set_class_bindings): Return vector, take signed
'extra' parm.
* name-lookup.c (maybe_lazily_declare): Break out ...
(get_class_binding): .. of here, call it.
(find_member_slot): Adjust get_class_bindings call.
(set_class_bindings): Allow -ve extra. Return the vector.
(set_identifier_type_value_with_scope): Remove checking assert.
(lookup_using_decl): Set decl's context.
(do_pushtag): Adjust set_identifier_type_value_with_scope handling.
Diffstat (limited to 'intl')
0 files changed, 0 insertions, 0 deletions