aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/parser.h')
-rw-r--r--gcc/cp/parser.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/cp/parser.h b/gcc/cp/parser.h
index f9ed801..b8cf763 100644
--- a/gcc/cp/parser.h
+++ b/gcc/cp/parser.h
@@ -419,6 +419,13 @@ struct GTY(()) cp_parser {
/* TRUE if an OpenMP array section is allowed. */
bool omp_array_section_p;
+ /* TRUE if an OpenMP array-shaping operator is allowed. */
+ bool omp_array_shaping_op_p;
+
+ /* TRUE if we are parsing an expression with an OpenMP array-shaping
+ operator. */
+ bool omp_has_array_shape_p;
+
/* Tracks the function's template parameter list when declaring a function
using generic type parameters. This is either a new chain in the case of a
fully implicit function template or an extension of the function's existing
@@ -456,6 +463,11 @@ struct GTY(()) cp_parser {
outside that file. */
struct omp_metadirective_parse_data * GTY((skip))
omp_metadirective_state;
+
+ /* TREE_LIST of "omp begin declare variant" functions when the base
+ function has not been seen "elsewhere" (per the OpenMP spec) yet;
+ used only when these functions are seen in a class definition. */
+ tree omp_unregistered_variants;
};
/* In parser.cc */