[flang-commits] [flang] [llvm] [flang-rt] Add PDT LEN parameter support: Concrete type cache (PR #181008)
via flang-commits
flang-commits at lists.llvm.org
Tue Feb 17 12:38:35 PST 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-rt/include/flang-rt/runtime/type-info-cache.h flang-rt/lib/runtime/type-info-cache.cpp flang-rt/include/flang-rt/runtime/descriptor.h flang-rt/include/flang-rt/runtime/memory.h flang-rt/include/flang-rt/runtime/type-info.h flang-rt/lib/runtime/allocatable.cpp flang-rt/lib/runtime/assign.cpp flang-rt/lib/runtime/derived-api.cpp flang-rt/lib/runtime/pointer.cpp flang-rt/lib/runtime/type-info.cpp flang/include/flang/ISO_Fortran_binding.h flang/include/flang/Runtime/descriptor-consts.h flang/lib/Evaluate/type.cpp flang/lib/Semantics/runtime-type-info.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-rt/lib/runtime/derived-api.cpp b/flang-rt/lib/runtime/derived-api.cpp
index aa7f65486..714b2bbc4 100644
--- a/flang-rt/lib/runtime/derived-api.cpp
+++ b/flang-rt/lib/runtime/derived-api.cpp
@@ -66,7 +66,7 @@ void RTDEF(Finalize)(
static RT_API_ATTRS const typeInfo::DerivedType *GetDerivedType(
const Descriptor &desc) {
- if (const DescriptorAddendum * addendum{desc.Addendum()}) {
+ if (const DescriptorAddendum *addendum{desc.Addendum()}) {
if (const auto *derived{addendum->derivedType()}) {
return derived;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/181008
More information about the flang-commits
mailing list