================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits