tree cxx_omp_clause_dtor (tree clause, tree decl) { tree info = CP_OMP_CLAUSE_INFO (clause); tree ret = NULL; if (info) ret = cxx_omp_clause_apply_fn (TREE_VEC_ELT (info, 1), decl, NULL); return ret; }
tree cxx_omp_clause_default_ctor (tree clause, tree decl, tree /*outer*/) { tree info = CP_OMP_CLAUSE_INFO (clause); tree ret = NULL; if (info) ret = cxx_omp_clause_apply_fn (TREE_VEC_ELT (info, 0), decl, NULL); return ret; }
tree cxx_omp_clause_assign_op (tree clause, tree dst, tree src) { tree info = CP_OMP_CLAUSE_INFO (clause); tree ret = NULL; if (info) ret = cxx_omp_clause_apply_fn (TREE_VEC_ELT (info, 2), dst, src); if (ret == NULL) ret = build2 (MODIFY_EXPR, TREE_TYPE (dst), dst, src); return ret; }
tree cxx_omp_clause_copy_ctor (tree clause, tree dst, tree src) { tree info = CP_OMP_CLAUSE_INFO (clause); tree ret = NULL; if (info) ret = cxx_omp_clause_apply_fn (TREE_VEC_ELT (info, 0), dst, src); if (ret == NULL) ret = build2 (MODIFY_EXPR, void_type_node, dst, src); return ret; }