[flang-commits] [flang] [flang][FIRToMemRef] Treat heap-pointer allocas as static, not as dynamic arrays (PR #223821)
via flang-commits
flang-commits at lists.llvm.org
Tue Sep 15 13:46:04 PDT 2026
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 origin/main HEAD --extensions h,cpp -- flang/include/flang/Optimizer/Transforms/FIRToMemRefTypeConverter.h flang/unittests/Optimizer/OpenACC/FIROpenACCPointerLikeTypeInterfaceTest.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/unittests/Optimizer/OpenACC/FIROpenACCPointerLikeTypeInterfaceTest.cpp b/flang/unittests/Optimizer/OpenACC/FIROpenACCPointerLikeTypeInterfaceTest.cpp
index c1d6e32bc..ef44cef96 100644
--- a/flang/unittests/Optimizer/OpenACC/FIROpenACCPointerLikeTypeInterfaceTest.cpp
+++ b/flang/unittests/Optimizer/OpenACC/FIROpenACCPointerLikeTypeInterfaceTest.cpp
@@ -123,7 +123,7 @@ TEST_F(FIROpenACCPointerLikeTypeInterfaceTest,
}
TEST_F(FIROpenACCPointerLikeTypeInterfaceTest,
- NestedPointerTypesAreNotConvertible) {
+ NestedPointerTypesAreNotConvertible) {
Type f32 = Float32Type::get(&context);
Type dyn1 = fir::SequenceType::get({ShapedType::kDynamic}, f32);
Type dyn2 =
``````````
</details>
https://github.com/llvm/llvm-project/pull/223821
More information about the flang-commits
mailing list