summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/c-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/c-tree.h')
-rw-r--r--contrib/gcc/c-tree.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/gcc/c-tree.h b/contrib/gcc/c-tree.h
index af2e798..75c2093 100644
--- a/contrib/gcc/c-tree.h
+++ b/contrib/gcc/c-tree.h
@@ -298,6 +298,8 @@ enum c_declarator_kind {
cdk_array,
/* A pointer. */
cdk_pointer,
+ /* APPLE LOCAL blocks (C++ ch) */
+ cdk_block_pointer,
/* Parenthesized declarator with nested attributes. */
cdk_attrs
};
@@ -468,6 +470,8 @@ extern tree finish_struct (tree, tree, tree);
extern struct c_arg_info *get_parm_info (bool);
extern tree grokfield (struct c_declarator *, struct c_declspecs *, tree);
extern tree groktypename (struct c_type_name *);
+/* APPLE LOCAL blocks 6339747 */
+extern tree grokblockdecl (struct c_declspecs *, struct c_declarator *);
extern tree grokparm (const struct c_parm *);
extern tree implicitly_declare (tree);
extern void keep_next_level (void);
@@ -501,6 +505,10 @@ extern struct c_declarator *build_function_declarator (struct c_arg_info *,
extern struct c_declarator *build_id_declarator (tree);
extern struct c_declarator *make_pointer_declarator (struct c_declspecs *,
struct c_declarator *);
+/* APPLE LOCAL begin radar 5814025 - blocks (C++ cg) */
+extern struct c_declarator *make_block_pointer_declarator (struct c_declspecs *,
+ struct c_declarator *);
+/* APPLE LOCAL end radar 5814025 - blocks (C++ cg) */
extern struct c_declspecs *build_null_declspecs (void);
extern struct c_declspecs *declspecs_add_qual (struct c_declspecs *, tree);
extern struct c_declspecs *declspecs_add_type (struct c_declspecs *,
@@ -627,6 +635,8 @@ extern bool c_eh_initialized_p;
extern void c_finish_incomplete_decl (tree);
extern void c_write_global_declarations (void);
+/* APPLE LOCAL radar 5741070 */
+extern tree c_return_interface_record_type (tree);
/* In order for the format checking to accept the C frontend
diagnostic framework extensions, you must include this file before
toplev.h, not after. */
OpenPOWER on IntegriCloud