Skip to content

Commit c158759

Browse files
committed
remove braces
1 parent 37c6d42 commit c158759

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/CIR/CodeGen/CIRGenDecl.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,9 +732,8 @@ void CIRGenFunction::emitArrayDestroy(mlir::Value begin,
732732

733733
// Optimize for a constant array size.
734734
if (auto constantCount = numElements.getDefiningOp<cir::ConstantOp>()) {
735-
if (auto constIntAttr = constantCount.getValueAttr<cir::IntAttr>()) {
735+
if (auto constIntAttr = constantCount.getValueAttr<cir::IntAttr>())
736736
size = constIntAttr.getUInt();
737-
}
738737
} else {
739738
cgm.errorNYI(begin.getDefiningOp()->getLoc(),
740739
"dynamic-length array expression");

0 commit comments

Comments
 (0)