[clang] [llvm] [Clang][OpenMP] Support for dispatch construct (Sema & Codegen) support (PR #131838)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 8 13:27:30 PDT 2025


================
@@ -4528,6 +4528,115 @@ void CodeGenFunction::EmitOMPMasterDirective(const OMPMasterDirective &S) {
   emitMaster(*this, S);
 }
 
+static Expr *getInitialExprFromCapturedExpr(Expr *Cond) {
----------------
SunilKuravinakop wrote:

I use S.clauses() to get the list of all the clauses (type OMPClause) present in the dispatch directive. The example of NoContextC of type OMPClause contains ImplicitCastExpr. An OMPClause cannot be changed to contain capturedExpr. I think I am not able to understand where do you want me to change it. Can you please clarify?

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


More information about the cfe-commits mailing list