[clang] [CIR][OpenACC] Implement pointer/array recipe destructors (PR #160189)
Razvan Lupusoru via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 23 20:46:13 PDT 2025
================
@@ -1715,8 +1715,15 @@ class CIRGenFunction : public CIRGenTypeCache {
mlir::Location beginLoc;
mlir::Value varValue;
std::string name;
+ // The type of the original variable reference: that is, after 'bounds' have
+ // removed pointers/array types/etc. So in the case of int arr[5], and a
+ // private(arr[1]), 'origType' is 'int', but 'baseType' is 'int[5]'.
+ QualType origType;
----------------
razvanlupusoru wrote:
Is this the "element type"?
https://github.com/llvm/llvm-project/pull/160189
More information about the cfe-commits
mailing list