Skip to content

Commit fdb713e

Browse files
author
Razvan Lupusoru
committed
Fix formatting
1 parent f6d5d9d commit fdb713e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

flang/include/flang/Lower/DirectivesCommon.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,8 @@ genBoundsOps(fir::FirOpBuilder &builder, mlir::Location loc,
670670
const std::vector<Fortran::evaluate::Subscript> &subscripts,
671671
std::stringstream &asFortran, fir::ExtendedValue &dataExv,
672672
bool dataExvIsAssumedSize, fir::factory::AddrAndBoundsInfo &info,
673-
bool treatIndexAsSection = false, bool strideIncludeLowerExtent = false) {
673+
bool treatIndexAsSection = false,
674+
bool strideIncludeLowerExtent = false) {
674675
int dimension = 0;
675676
mlir::Type idxTy = builder.getIndexType();
676677
mlir::Type boundTy = builder.getType<BoundsType>();
@@ -1024,7 +1025,8 @@ fir::factory::AddrAndBoundsInfo gatherDataOperandAddrAndBounds(
10241025
if (genDefaultBounds &&
10251026
mlir::isa<fir::SequenceType>(fir::unwrapRefType(info.addr.getType())))
10261027
bounds = fir::factory::genBaseBoundsOps<BoundsOp, BoundsType>(
1027-
builder, operandLocation, dataExv, dataExvIsAssumedSize, strideIncludeLowerExtent);
1028+
builder, operandLocation, dataExv, dataExvIsAssumedSize,
1029+
strideIncludeLowerExtent);
10281030
asFortran << symRef->get().name().ToString();
10291031
} else { // Unsupported
10301032
llvm::report_fatal_error("Unsupported type of OpenACC operand");

flang/include/flang/Optimizer/Builder/DirectivesCommon.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ genBaseBoundsOps(fir::FirOpBuilder &builder, mlir::Location loc,
236236
loc, cummulativeExtent, extent);
237237
}
238238

239-
mlir::Value bound =
240-
builder.create<BoundsOp>(loc, boundTy, lb, ub, extent, stride, false, baseLb);
239+
mlir::Value bound = builder.create<BoundsOp>(loc, boundTy, lb, ub, extent,
240+
stride, false, baseLb);
241241
bounds.push_back(bound);
242242
}
243243
return bounds;

0 commit comments

Comments
 (0)