================ @@ -1104,6 +1107,7 @@ def OMP_Target : Directive<[Spelling<"target">]> { let allowedOnceClauses = [ VersionedClause<OMPC_DefaultMap>, VersionedClause<OMPC_Device>, + VersionedClause<OMPC_DynGroupprivate>, ---------------- kevinsala wrote:
The restriction in the spec is correct. Currently, only `cgroup` is allowed in `dyn_groupprivate`, so at most one instantiation of this clause is permitted in practice. If you consider that this check must be moved somewhere else, let me know. https://github.com/llvm/llvm-project/pull/152651 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits