f181d4aea0
* cp-tree.def (CPLUS_BINDING): Update documentation. * cp-tree.h (LOCAL_BINDING_P): New macro. (lang_identifier): Rename local_value to bindings. (tree_binding): Make `scope' of type `void*', not `tree'. (BINDING_SCOPE): Update documentation. (IDENTIFIER_LOCAL_VALUE): Remove. (IDENTIFIER_CLASS_VALUE): Document. (IDENTIFIER_BINDING): New macro. (IDENTIFIER_VALUE): Likewise. (TIME_IDENTIFIER_TIME): Likewise. (TIME_IDENTIFIER_FILEINFO): Likewise. (IMPLICIT_TYPENAME_P): Likewise. (set_identifier_local_value): Remove. (push_local_binding): New function. (push_class_binding): Likewise. * class.c (pushclass): Update comments; use push_class_binding. * decl.c (set_identifier_local_value_with_scope): Remove. (set_identifier_local_value): Likewise. (push_binding): New function. (pop_binding): Likewise. (binding_level): Update documentation. Remove shadowed. (BINDING_LEVEL): New macro. (free_binding_nodes): New variable. (poplevel): Adjust for new name-lookup scheme. Don't mess up BLOCK_VARs when doing for-scope extension. Remove effectively dead code. (pushlevel_class): Tweak formatting. (poplevel_class): Adjust for new name-lookup scheme. (print_binding_level): Likewise. (store_bindings): Likewise. (pushdecl): Likewise. (pushdecl_class_level): Likewise. (push_class_level_binding): Likewise. (push_overloaded_decl): Update comments. Adjust for new name-lookup scheme. (lookup_name_real): Likewise. (lookup_name_current_level): Likewise. (cp_finish_decl): Likewise. (require_complete_types_for_parms): Likewise. Remove misleading #if 0'd code. (grok_parms): Likewise. Don't call require_complete_types_for_parms here. (grok_ctor_properties): Don't treat templates as copy constructors. (grop_op_properties): Or as assignment operators. (start_function): Document. Adjust for new name-lookup scheme. (finish_function): Likewise. * decl2.c (do_local_using_decl): Use push_local_binding. * lex.c (begin_definition_of_inclass_inline): New function, split out from ... (do_pending_inlines): Here, and ... (process_next_inline): Here. (get_time_identifier): Use TIME_IDENTIFIER_* macros. (init_filename_times): Likewise. (extract_interface_info): Likewise. (ste_typedecl_interface_info): Likewise. (check_newline): Likewise. (dump_time_statistics): Likewise. (handle_cp_pragma): Likewise. (do_identifier): Adjust for new name-lookup scheme. * parse.y (function_try_block): Return ctor_initializer_opt value. (fndef): Use it. (fn.defpen): Pass appropriate values to start_function. (pending_inline): Use functor_try_block value, and pass appropriate values to finish_function. * pt.c (is_member_template): Update documentation; remove handling of FUNCTION_DECLs. As per name, this function should deal only in TEMPLATE_DECLs. (decl_template_parm_p): Change name of olddecl parameter to decl. (check_template_shadow): Adjust for new name-lookup scheme. (lookup_template_class): Likewise. (tsubst_decl): Tweak so as not to confuse member templates with copy constructors and assignment operators. (unify): Handle UNION_TYPEs. * ptree.c (print_lang_identifier): Adjust for new name-lookup scheme. (lang_print_xnode): Adjust for new name-lookup scheme. * typeck.c (mark_addressable): Likewise. (c_expand_return): Likewise. From-SVN: r24296 |
||
---|---|---|
.. | ||
891229_02.C | ||
891230_01.C | ||
900107_01.C | ||
900119_01.C | ||
900121_01.C | ||
900121_02.C | ||
900121_05.C | ||
900127_01.C | ||
900127_02.C | ||
900205_02.C | ||
900205_03.C | ||
900205_04.C | ||
900207_03.C | ||
900208_02.C | ||
900208_03.C | ||
900208_04.C | ||
900209_01.C | ||
900210_01.C | ||
900210_02.C | ||
900210_03.C | ||
900210_05.C | ||
900210_06.C | ||
900210_07.C | ||
900210_08.C | ||
900210_09.C | ||
900210_10.C | ||
900211_01.C | ||
900211_02.C | ||
900211_03.C | ||
900211_04.C | ||
900212_01.C | ||
900212_02.C | ||
900212_03.C | ||
900213_01.C | ||
900213_02.C | ||
900213_03.C | ||
900214_01.C | ||
900215_01.C | ||
900215_02.C | ||
900220_01.C | ||
900220_02.C | ||
900220_03.C | ||
900221_01.C | ||
900227_01.C | ||
900321_01.C | ||
900321_02.C | ||
900321_04.C | ||
900321_05.C | ||
900322_01.C | ||
900324_02.C | ||
900324_03.C | ||
900324_04.C | ||
900324_05.C | ||
900324_06.C | ||
900325_01.C | ||
900330_01.C | ||
900330_02.C | ||
900331_02.C | ||
900331_03.C | ||
900331_04.C | ||
900401_01.C | ||
900402_01.C | ||
900402_02.C | ||
900403_01.C | ||
900403_04.C | ||
900404_01.C | ||
900404_02.C | ||
900404_03.C | ||
900404_04.C | ||
900404_07.C | ||
900405_01.C | ||
900406_01.C | ||
900406_02.C | ||
900407_01.C | ||
900407_02.C | ||
900428_01.C | ||
900428_02.C | ||
900428_03.C | ||
900511_01.C | ||
900511_02.C | ||
900511_03.C | ||
900514_03.C | ||
900519_01.C | ||
900519_02.C | ||
900519_03.C | ||
900519_04.C | ||
900519_05.C | ||
900519_06.C | ||
900519_07.C | ||
900519_09.C | ||
900519_12.C | ||
900519_13.C | ||
900520_02.C | ||
900520_03.C | ||
900520_04.C | ||
900520_05.C | ||
900520_06.C |