[clang] [OpenACC][CIR] Implement member exprs for 'copy' lowering (PR #142998)

Valentin Clement バレンタイン クレメン via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 5 09:23:23 PDT 2025


================
@@ -226,6 +228,10 @@ class OpenACCClauseCIREmitter final
     mlir::Location exprLoc = cgf.cgm.getLoc(curVarExpr->getBeginLoc());
     llvm::SmallVector<mlir::Value> bounds;
 
+    std::string exprString;
+    llvm::raw_string_ostream OS(exprString);
----------------
clementval wrote:

Maybe? 
```suggestion
    llvm::raw_string_ostream os(exprString);
```

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


More information about the cfe-commits mailing list