aboutsummaryrefslogtreecommitdiff
path: root/gcc/objcp
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2009-06-13 21:27:56 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2009-06-13 21:27:56 +0000
commit4b29c5e5434f7aaaabd4b6f314139fde5803b513 (patch)
treead96463ea09c41bb6629fc9bc78134fa74144bfd /gcc/objcp
parentcd19075ff986d497b9a37b20ecc301fd3e5d3a22 (diff)
downloadgcc-4b29c5e5434f7aaaabd4b6f314139fde5803b513.zip
gcc-4b29c5e5434f7aaaabd4b6f314139fde5803b513.tar.gz
gcc-4b29c5e5434f7aaaabd4b6f314139fde5803b513.tar.bz2
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
Diffstat (limited to 'gcc/objcp')
-rw-r--r--gcc/objcp/ChangeLog6
-rw-r--r--gcc/objcp/objcp-decl.h10
2 files changed, 12 insertions, 4 deletions
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 <aldyh@redhat.com>
+
+ * objcp-decl.h (start_struct): Add location argument.
+ (finish_struct): Same.
+ (finish_decl): New.
+
2009-06-12 Aldy Hernandez <aldyh@redhat.com>
* 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) \