aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-pragma.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-family/c-pragma.h')
-rw-r--r--gcc/c-family/c-pragma.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/c-family/c-pragma.h b/gcc/c-family/c-pragma.h
index 65f10db6e6f..516fd553ef1 100644
--- a/gcc/c-family/c-pragma.h
+++ b/gcc/c-family/c-pragma.h
@@ -238,6 +238,15 @@ extern void add_to_renaming_pragma_list (tree, tree);
extern enum cpp_ttype pragma_lex (tree *, location_t *loc = NULL);
+/* UPC-related pragma handling. */
+extern void deny_pragma_upc (void);
+extern int get_upc_consistency_mode (void);
+extern void permit_pragma_upc (void);
+extern void pop_upc_consistency_mode (void);
+extern int pragma_upc_permitted_p (void);
+extern void push_upc_consistency_mode (void);
+extern void set_upc_consistency_mode (int);
+
/* Flags for use with c_lex_with_flags. The values here were picked
so that 0 means to translate and join strings. */
#define C_LEX_STRING_NO_TRANSLATE 1 /* Do not lex strings into