[flang-commits] [flang] [flang][acc] Improve lowering of Fortran optional in data clause (PR #102224)
via flang-commits
flang-commits at lists.llvm.org
Tue Aug 6 14:12:25 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 7a7cb8156b0a85f1eca772329644cae5989d4ed1 3e7404b73a2e2a4dc34ada5ec91eace508a967a5 --extensions cpp,h -- flang/lib/Lower/DirectivesCommon.h flang/lib/Lower/OpenACC.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Lower/DirectivesCommon.h b/flang/lib/Lower/DirectivesCommon.h
index f6b16e9adb..d8b1f1f3e4 100644
--- a/flang/lib/Lower/DirectivesCommon.h
+++ b/flang/lib/Lower/DirectivesCommon.h
@@ -802,8 +802,8 @@ genBoundsOpsFromBox(fir::FirOpBuilder &builder, mlir::Location loc,
mlir::Value box = !fir::isBoxAddress(info.addr.getType())
? info.addr
: builder.create<fir::LoadOp>(loc, info.addr);
- bounds = gatherBoundsOrBoundValues<BoundsOp, BoundsType>(
- builder, loc, dataExv, box);
+ bounds = gatherBoundsOrBoundValues<BoundsOp, BoundsType>(builder, loc,
+ dataExv, box);
}
return bounds;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/102224
More information about the flang-commits
mailing list