diff options
Diffstat (limited to 'gcc/cp/cp-tree.def')
-rw-r--r-- | gcc/cp/cp-tree.def | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.def b/gcc/cp/cp-tree.def index bb5aaf9..2182141 100644 --- a/gcc/cp/cp-tree.def +++ b/gcc/cp/cp-tree.def @@ -257,6 +257,7 @@ DEFTREECODE (REINTERPRET_CAST_EXPR, "reinterpret_cast_expr", tcc_unary, 1) DEFTREECODE (CONST_CAST_EXPR, "const_cast_expr", tcc_unary, 1) DEFTREECODE (STATIC_CAST_EXPR, "static_cast_expr", tcc_unary, 1) DEFTREECODE (DYNAMIC_CAST_EXPR, "dynamic_cast_expr", tcc_unary, 1) +DEFTREECODE (OMP_ARRAYSHAPE_CAST_EXPR, "omp_arrayshape_cast_expr", tcc_unary, 1) DEFTREECODE (IMPLICIT_CONV_EXPR, "implicit_conv_expr", tcc_unary, 1) DEFTREECODE (DOTSTAR_EXPR, "dotstar_expr", tcc_expression, 2) DEFTREECODE (TYPEID_EXPR, "typeid_expr", tcc_expression, 1) @@ -490,6 +491,17 @@ DEFTREECODE (TEMPLATE_INFO, "template_info", tcc_exceptional, 0) Operand 1: OMP_DEPOBJ_CLAUSES: List of clauses. */ DEFTREECODE (OMP_DEPOBJ, "omp_depobj", tcc_statement, 2) +/* OpenMP - #pragma omp allocate + Underlying node type is tree_exp, used to represent the directive as a + statement in a function. Only used for template instantiation. + Operand 0: OMP_ALLOCATE_VARS: tree_list containing each var_decl passed to + the directive as an args, purpose contains the + var_decl, value contains a expr that holds the + location where the var was passed in. + Operand 1: OMP_ALLOCATE_ALLOCATOR: Expr of the allocator clause. + Operand 2: OMP_ALLOCATE_ALIGN: Expr of the align clause. */ +DEFTREECODE (OMP_ALLOCATE, "omp_allocate", tcc_statement, 3) + /* Extensions for Concepts. */ /* Used to represent information associated with constrained declarations. */ |