Skip to content

Commit

Permalink
[CIR][NFC] Silence warning from recent PR
Browse files Browse the repository at this point in the history
  • Loading branch information
bcardosolopes committed Dec 18, 2024
1 parent 710fa7f commit 2ec1a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/CIR/CodeGen/CIRGenExprCXX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ void CIRGenFunction::emitCXXDeleteExpr(const CXXDeleteExpr *E) {
// we plan to handle it in LoweringPreparePass and the corresponding
// ABI part.
if (DeleteTy->isConstantArrayType()) {
Ptr = Ptr;
// Nothing to do here, keep it for skeleton comparison sake.
}

assert(convertTypeForMem(DeleteTy) == Ptr.getElementType());
Expand Down

0 comments on commit 2ec1a24

Please sign in to comment.