Skip to content

Commit 2ec1a24

Browse files
committed
[CIR][NFC] Silence warning from recent PR
1 parent 710fa7f commit 2ec1a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenExprCXX.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ void CIRGenFunction::emitCXXDeleteExpr(const CXXDeleteExpr *E) {
910910
// we plan to handle it in LoweringPreparePass and the corresponding
911911
// ABI part.
912912
if (DeleteTy->isConstantArrayType()) {
913-
Ptr = Ptr;
913+
// Nothing to do here, keep it for skeleton comparison sake.
914914
}
915915

916916
assert(convertTypeForMem(DeleteTy) == Ptr.getElementType());

0 commit comments

Comments
 (0)