summaryrefslogtreecommitdiff
path: root/gcc/objcp
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-13 21:27:56 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-13 21:27:56 +0000
commit65edca84b3cc8bf79d1bf076047d21270e1cb470 (patch)
treead96463ea09c41bb6629fc9bc78134fa74144bfd /gcc/objcp
parent90422462f1d691e3d70044cdb7d36698ef31a837 (diff)
downloadgcc-65edca84b3cc8bf79d1bf076047d21270e1cb470.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148461 138bc75d-0d04-0410-961f-82ee72b054a4
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 fcb4a6419be..45985f8db0b 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 e335149e0e5..07d39abaf8f 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) \