[clang] [CIR][OpenMP] Add support for combined target parallel directives (PR #207019)

Sergio Afonso via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 15 04:51:10 PDT 2026


================
@@ -224,25 +280,30 @@ CIRGenFunction::emitOMPAtomicDirective(const OMPAtomicDirective &s) {
 }
 
 /// Check for unsupported implicit captures in a target region.
-static void
-emitOMPTargetImplicitCaptures(CIRGenFunction &cgf, const OMPTargetDirective &s,
+static mlir::LogicalResult
+emitOMPTargetImplicitCaptures(CIRGenFunction &cgf,
----------------
skatrak wrote:

Nit: This doesn't emit anything, maybe we could change the name for something more representative.

https://github.com/llvm/llvm-project/pull/207019


More information about the cfe-commits mailing list