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] |
When writing my previous patch, I copied code from elsewhere in decl2.c, which Diego later told me was written in bad style. So this patch fixes the places I copied from. I changed ints to bools and a use of current_function_decl immediately after start_preparsed_function() to the equivalent local variable. gcc/cp/ChangeLog: 2010-07-14 Jeffrey Yasskin <jyasskin@google.com> * cp-tree.h (at_eof): ->bool. * decl2.c (at_eof): ->bool. * decl2.c (finish_static_data_member_decl): ->bool. * decl2.c (maybe_emit_vtables): ->bool. * decl2.c (determine_visibility): ->bool. * decl2.c (start_objects): current_function_decl->fndecl. * decl2.c (cp_write_global_declarations): ->bool.
Attachment:
cleanup.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |