Skip to content

Commit f5fca25

Browse files
Update clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
Co-authored-by: Andy Kaylor <[email protected]>
1 parent 162579f commit f5fca25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,7 @@ Address CIRGenItaniumCXXABI::initializeArrayCookie(CIRGenFunction &cgf,
20422042

20432043
// Finally, compute a pointer to the actual data buffer by skipping
20442044
// over the cookie completely.
2045-
auto dataOffset = cgf.getBuilder().getSignedInt(loc, cookieSize.getQuantity(),
2045+
mlir::Value dataOffset = cgf.getBuilder().getSignedInt(loc, cookieSize.getQuantity(),
20462046
/*width=*/32);
20472047
mlir::Value dataPtr =
20482048
cgf.getBuilder().createPtrStride(loc, baseBytePtr, dataOffset);

0 commit comments

Comments
 (0)