diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-05-30 17:48:57 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-05-30 17:48:57 +0000 |
commit | d6cc2ec218318b85fb1b447292e4e7008eaac283 (patch) | |
tree | b301de4f497dcfb4c508ca5a98f65b8dfc86a2a3 /gcc/cp/cp-tree.h | |
parent | ed47094986e04884be879fc8d7f1b145b164f522 (diff) | |
download | gcc-d6cc2ec218318b85fb1b447292e4e7008eaac283.tar.gz |
* cp-tree.def (OVERLOAD): Fix comment.
* cp-tree.h: Fix comments and whitespace.
* error.c (dump_decl): Use pp_cxx_colon_colon, ovl_scope.
* name-lookup.c (add_decl_to_level): Assert not class.
(check_local_shadow): Use OVL_P.
(pushdecl_with_scope_1): Rename to ...
(do_pushdecl_with_Scope): ... here.
(do_nonmember_using_decl): Use qualified_namespace_lookup return
value.
(push_class_level_binding_1): Use OVL_P.
(pushdecl_namespace_level): Use do_pushdecl_with_scope.
(pushtag_1): Rename to ...
(do_pushtag): ... here. Adjust do_pushdecl_with_scope call.
(pushtag): Adjust.
(store_class_bindings): Do not time here.
* name-lookup.h (pushdecl_outermost_localscope): Reorder.
* pt.c (listify): Declare argvec at point of initialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r-- | gcc/cp/cp-tree.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 0bfa6c673f3..a01e76a228d 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -692,7 +692,8 @@ struct GTY(()) tree_overload { tree function; }; -/* Iterator for a 1 dimensional overload. */ +/* Iterator for a 1 dimensional overload. Permits iterating over the + outer level of a 2-d overload when explicitly enabled. */ class ovl_iterator { @@ -970,7 +971,7 @@ enum GTY(()) abstract_class_use { (LANG_IDENTIFIER_CAST (NODE)->class_template_info) /* The IDENTIFIER_BINDING is the innermost cxx_binding for the - identifier. It's PREVIOUS is the next outermost binding. Each + identifier. Its PREVIOUS is the next outermost binding. Each VALUE field is a DECL for the associated declaration. Thus, name lookup consists simply of pulling off the node at the front of the list (modulo oddities for looking up the names of types, @@ -1454,6 +1455,7 @@ union GTY((desc ("cp_tree_node_structure (&%h)"), userdef_literal; }; + /* Global state. */ struct GTY(()) saved_scope { @@ -2496,9 +2498,9 @@ struct GTY(()) lang_decl_fn { unsigned static_function : 1; unsigned pure_virtual : 1; unsigned defaulted_p : 1; - unsigned has_in_charge_parm_p : 1; unsigned has_vtt_parm_p : 1; + unsigned pending_inline_p : 1; unsigned nonconverting : 1; unsigned thunk_p : 1; |