diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-05-09 11:17:45 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-05-09 11:17:45 +0000 |
commit | 641da50a0c73f734e672f8e6b9e7d2c86bde840d (patch) | |
tree | 50f0386875fa98e4952321dcf3a16862b140cb74 /gcc/c/c-tree.h | |
parent | 40abbbea6659b07309e39355d06792dd7db13884 (diff) | |
download | gcc-641da50a0c73f734e672f8e6b9e7d2c86bde840d.zip gcc-641da50a0c73f734e672f8e6b9e7d2c86bde840d.tar.gz gcc-641da50a0c73f734e672f8e6b9e7d2c86bde840d.tar.bz2 |
c-tree.h (pushdecl): Declare.
gcc/c/
* c-tree.h (pushdecl): Declare.
gcc/cp/
* cp-lang.c (get_global_decls, cxx_pushdecl): New.
(LANG_HOOKS_GETDECLS, LANG_HOOKS_PUSHDECL): Override.
* name-lookup.h (pushdecl_top_level): Declare.
gcc/c-family/
* c-common.c (c_register_builtin_type): Use pushdecl lang_hook.
* c-common.h (pushdecl_top_level, pushdecl): Don't declare here.
gcc/objc/
* objc-gnu-runtime-abi-01.c (objc_add_static_instance): Use
pushdecl lang_hook.
From-SVN: r247785
Diffstat (limited to 'gcc/c/c-tree.h')
-rw-r--r-- | gcc/c/c-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c/c-tree.h b/gcc/c/c-tree.h index 5fa32a4..8d232a4 100644 --- a/gcc/c/c-tree.h +++ b/gcc/c/c-tree.h @@ -506,6 +506,7 @@ extern tree c_break_label; extern tree c_cont_label; extern bool global_bindings_p (void); +extern tree pushdecl (tree); extern void push_scope (void); extern tree pop_scope (void); extern void c_bindings_start_stmt_expr (struct c_spot_bindings *); |