summaryrefslogtreecommitdiff
path: root/gcc/c-family/stub-objc.c
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-20 09:08:57 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-20 09:08:57 +0000
commit64cd961973c91ea2e9a8518e8cf7f6d6964e6a76 (patch)
tree77a27cf850b61490643a0ebe4d3a9737add96fa6 /gcc/c-family/stub-objc.c
parent3d35132356c085db80cdcbe9e59eb687499ee0d8 (diff)
downloadgcc-64cd961973c91ea2e9a8518e8cf7f6d6964e6a76.tar.gz
In gcc/:
2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> * c-decl.c (c_write_global_declarations): Call objc_write_global_declarations when compiling Objective-C. * c-lang.c (finish_file): Removed. In gcc/c-family/: 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> * c-common.h (finish_file): Removed. (objc_write_global_declarations): New. * c-opts.c (c_common_parse_file): Do not call finish_file. * stub-objc.c (objc_write_global_declarations): New. In gcc/cp/: 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> * cp-lang.c (finish_file): Removed. * decl2.c (cp_write_global_declarations): Call objc_write_global_declarations when compiling Objective-C++. In gcc/objc/: 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> * objc-lang.c (finish_file): Removed. * objc-act.c (objc_finish_file): Renamed to objc_write_global_declarations. Do not try to instantiate C++ templates when compiling Objective-C++ as this is now automatically done before this function is called. Do not check for syntax-only run or PCH generation as this is done by the callers. * objc-act.h (objc_finish_file): Removed. In gcc/objcp/: 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> * objcp-lang.c (finish_file): Removed. In gcc/testsuite/: 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> Merge from 'apple/trunk' branch on FSF servers. Test adapted to not require Foundation and run with the GNU runtime as well. 2006-03-13 Fariborz Jahanian <fjahanian@apple.com> Radar 4439126 * obj-c++.dg/template-8.mm: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/stub-objc.c')
-rw-r--r--gcc/c-family/stub-objc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/c-family/stub-objc.c b/gcc/c-family/stub-objc.c
index a1ea03330e2..3356d0bf0bf 100644
--- a/gcc/c-family/stub-objc.c
+++ b/gcc/c-family/stub-objc.c
@@ -416,3 +416,8 @@ objc_finish_foreach_loop (location_t ARG_UNUSED (location), tree ARG_UNUSED (obj
{
return;
}
+
+void
+objc_write_global_declarations (void)
+{
+}