Skip to content

Commit 374aaf6

Browse files
committed
Run clang-format. Update comment.
1 parent ffdceed commit 374aaf6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

flang/lib/Lower/Bridge.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ class FirConverter : public Fortran::lower::AbstractConverter {
12641264
forceControlVariableBinding(ctrlVar, lp.getInductionVar());
12651265
loops.push_back(lp);
12661266
}
1267-
if (outermost)
1267+
if (outermost)
12681268
explicitIterSpace.setOuterLoop(loops[0]);
12691269
explicitIterSpace.appendLoops(loops);
12701270
if (const auto &mask =
@@ -1882,9 +1882,10 @@ class FirConverter : public Fortran::lower::AbstractConverter {
18821882
if (lhsType->IsPolymorphic() && isWholeAllocatable(assign.lhs))
18831883
TODO(loc, "assignment to polymorphic allocatable");
18841884

1885-
// Note: no ad-hoc handling for pointers is require here, the
1885+
// Note: No ad-hoc handling for pointers is required here. The
18861886
// target will be assigned as per 2018 10.2.1.3 p2. genExprAddr
1887-
// on a pointer returns the target address.
1887+
// on a pointer returns the target address and not the address of
1888+
// the pointer variable.
18881889

18891890
if (assign.lhs.Rank() > 0 || explicitIterationSpace()) {
18901891
// Array assignment

0 commit comments

Comments
 (0)