diff options
Diffstat (limited to 'gcc/cp/cp-objcp-common.h')
-rw-r--r-- | gcc/cp/cp-objcp-common.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gcc/cp/cp-objcp-common.h b/gcc/cp/cp-objcp-common.h index 7a2a2343b7c..9623a3abf5e 100644 --- a/gcc/cp/cp-objcp-common.h +++ b/gcc/cp/cp-objcp-common.h @@ -22,15 +22,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef GCC_CP_OBJCP_COMMON #define GCC_CP_OBJCP_COMMON -/* In cp/cp-objcp-common.c. */ - -extern HOST_WIDE_INT cxx_get_alias_set (tree); -extern bool cxx_warn_unused_global_decl (tree); -extern tree cp_expr_size (tree); -extern size_t cp_tree_size (enum tree_code); -extern bool cp_var_mod_type_p (tree, tree); -extern void cxx_initialize_diagnostics (struct diagnostic_context *); -extern int cxx_types_compatible_p (tree, tree); +/* APPLE LOCAL Objective-C++ */ +/* Function prototypes for cp/cp-objcp-common.c moved to cp/cp-tree.h. */ /* In cp/cp-lang.c and objcp/objcp-lang.c. */ @@ -162,4 +155,9 @@ extern tree objcp_tsubst_copy_and_build (tree, tree, tsubst_flags_t, #undef LANG_HOOKS_GIMPLIFY_EXPR #define LANG_HOOKS_GIMPLIFY_EXPR cp_gimplify_expr +/* APPLE LOCAL begin kext identify vtables */ +#undef LANG_HOOKS_VTABLE_P +#define LANG_HOOKS_VTABLE_P cp_vtable_p +/* APPLE LOCAL end kext identify vtables */ + #endif /* GCC_CP_OBJCP_COMMON */ |