From 4b29c5e5434f7aaaabd4b6f314139fde5803b513 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Sat, 13 Jun 2009 21:27:56 +0000 Subject: rs6000-protos.h (altivec_resolve_overloaded_builtin): Change first argument type to location_t. * config/rs6000/rs6000-protos.h (altivec_resolve_overloaded_builtin): Change first argument type to location_t. * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Same. Do not set input_location. Use loc instead of input_location throughout. objcp/ * objcp-decl.h (start_struct): Add location argument. (finish_struct): Same. (finish_decl): New. From-SVN: r148461 --- gcc/objcp/ChangeLog | 6 ++++++ gcc/objcp/objcp-decl.h | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'gcc/objcp') diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index fcb4a64..45985f8 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -1,3 +1,9 @@ +2009-06-13 Aldy Hernandez + + * objcp-decl.h (start_struct): Add location argument. + (finish_struct): Same. + (finish_decl): New. + 2009-06-12 Aldy Hernandez * objcp-decl.h (c_end_compound_stmt): New argument. diff --git a/gcc/objcp/objcp-decl.h b/gcc/objcp/objcp-decl.h index e335149..07d39ab 100644 --- a/gcc/objcp/objcp-decl.h +++ b/gcc/objcp/objcp-decl.h @@ -37,12 +37,14 @@ extern tree objcp_end_compound_stmt (tree, int); invoke the original C++ functions if needed). */ #ifdef OBJCP_REMAP_FUNCTIONS -#define start_struct(code, name, in_struct, struct_types, loc) \ - objcp_start_struct (code, name) -#define finish_struct(t, fieldlist, attributes, in_struct, struct_types) \ - objcp_finish_struct (t, fieldlist, attributes) +#define start_struct(loc, code, name, in_struct, struct_types) \ + objcp_start_struct (loc, code, name) +#define finish_struct(loc, t, fieldlist, attributes, in_struct, struct_types) \ + objcp_finish_struct (loc, t, fieldlist, attributes) #define finish_function() \ objcp_finish_function () +#define finish_decl(decl, loc, init, origtype, asmspec) \ + cp_finish_decl (decl, init, false, asmspec, 0) #define xref_tag(code, name) \ objcp_xref_tag (code, name) #define comptypes(type1, type2) \ -- cgit v1.1