Skip to content

Commit fe4c2f9

Browse files
committed
reduce diff noise introduced by clang-format
1 parent 024c3e4 commit fe4c2f9

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

flang/lib/Lower/ConvertExpr.cpp

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2582,12 +2582,12 @@ class ArrayExprLowering {
25822582
}
25832583
} else {
25842584
// A regular scalar index, which does not yield an array
2585-
// section. Use a degenerate slice operation
2586-
// `(e:undef:undef)` in this dimension as a placeholder.
2587-
// This does not necessarily change the rank of the original
2588-
// array, so the iteration space must also be extended to
2589-
// include this expression in this dimension to adjust to
2590-
// the array's declared rank.
2585+
// section. Use a degenerate slice operation `(e:undef:undef)`
2586+
// in this dimension as a placeholder. This does not
2587+
// necessarily change the rank of the original array, so the
2588+
// iteration space must also be extended to include this
2589+
// expression in this dimension to adjust to the array's
2590+
// declared rank.
25912591
auto base = x.base();
25922592
ScalarExprLowering sel{loc, converter, symMap, stmtCtx};
25932593
auto exv = base.IsSymbol() ? sel.gen(base.GetFirstSymbol())
@@ -2741,10 +2741,9 @@ class ArrayExprLowering {
27412741
return [=](IterSpace iters) { return lambda(iters); };
27422742
}
27432743

2744-
/// The `Ev::Component` structure is tailmost down to head, so the
2745-
/// expression <code>a%b%c</code> will be presented as <code>(component
2746-
/// (dataref (component (dataref (symbol 'a)) (symbol 'b))) (symbol
2747-
/// 'c))</code>.
2744+
/// The `Ev::Component` structure is tailmost down to head, so the expression
2745+
/// <code>a%b%c</code> will be presented as <code>(component (dataref
2746+
/// (component (dataref (symbol 'a)) (symbol 'b))) (symbol 'c))</code>.
27482747
void buildComponentsPath(llvm::SmallVectorImpl<mlir::Value> &components,
27492748
mlir::Type &recTy,
27502749
const Fortran::evaluate::DataRef &dr) {

0 commit comments

Comments
 (0)