[clang] [OpenACC] Implement 'firstprivate' clause copy lowering (PR #154150)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 18 13:49:13 PDT 2025


================
@@ -77,7 +77,7 @@ bool CIRGenFunction::isTrivialInitializer(const Expr *init) {
 }
 
 void CIRGenFunction::emitAutoVarInit(
-    const CIRGenFunction::AutoVarEmission &emission) {
+    const CIRGenFunction::AutoVarEmission &emission, bool allocatedSeparately) {
----------------
andykaylor wrote:

Rather than passing this in as an argument here, could you make it a member of AutoVarEmission?

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


More information about the cfe-commits mailing list