This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[C++ PATCH] Fix friend class name lookup part 4/n


Hi

This patch removes codes related to tag name lookup that are no longer used.
The CLASSTYPE_NESTED_UTDS of a RECORD_TYPE is also decoupled from type_decls field in struct cp_binding_level which is also removed.


Now binding_table infrastructure is only used for CLASSTYPE_NESTED_UTDS but I decide to keep the unused functions 'binding_entry_free' and 'binding_table_free' around because they do name lookup based on hash which could be useful in other area. Those two functions are enclosed within #if 0/#endif block.

Patch tested on i686-pc-linux-gnu. OK for mainline?

--Kriang

Attachment: diff-friend-remove-4
Description: application/java-vm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]