[libc-commits] [llvm] [libc] [libcxx] [compiler-rt] [flang] [clang] [Clang] Use correct base expression for counted_by field (#73168) (PR #73465)
Aaron Ballman via libc-commits
libc-commits at lists.llvm.org
Mon Nov 27 06:46:59 PST 2023
================
@@ -940,7 +940,7 @@ static llvm::Value *getArrayIndexingBound(CodeGenFunction &CGF,
if (const ValueDecl *VD = CGF.FindCountedByField(Base)) {
IndexedType = Base->getType();
- const Expr *E = CGF.BuildCountedByFieldExpr(Base, VD);
+ Expr *E = CGF.BuildCountedByFieldExpr(Base, VD);
----------------
AaronBallman wrote:
Same question here.
https://github.com/llvm/llvm-project/pull/73465
More information about the libc-commits
mailing list