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

It means, the context (capturedstmt) does not know about this capturedexpr, 
which means it is captured in the wrong context. You're not fixing the problem, 
you're overcoming it with this hack. Need to capture the expression in the 
correct context and emit in the correct context

https://github.com/llvm/llvm-project/pull/131838
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to