Skip to content

Commit 97d4b5f

Browse files
committed
Fix formatting
1 parent 9af893f commit 97d4b5f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/lib/CIR/CodeGen/CIRGenBuilder.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ class CIRGenBuilderTy : public cir::CIRBaseBuilderTy {
286286
uint64_t alignment = addr.getAlignment().getQuantity();
287287
if (alignment)
288288
align = getI64IntegerAttr(alignment);
289-
return create<cir::LoadOp>(loc, addr.getPointer(), /*isDeref=*/false, align);
289+
return create<cir::LoadOp>(loc, addr.getPointer(), /*isDeref=*/false,
290+
align);
290291
}
291292

292293
cir::StoreOp createStore(mlir::Location loc, mlir::Value val, Address dst,

clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ void AggExprEmitter::emitArrayInit(Address destPtr, cir::ArrayType arrayTy,
162162

163163
// TODO(CIR): Replace this part later with cir::DoWhileOp
164164
for (unsigned i = numInitElements; i != numArrayElements; ++i) {
165-
cir::LoadOp currentElement =
166-
builder.createLoad(loc, tmpAddr);
165+
cir::LoadOp currentElement = builder.createLoad(loc, tmpAddr);
167166

168167
// Emit the actual filler expression.
169168
const LValue elementLV = cgf.makeAddrLValue(

0 commit comments

Comments
 (0)