[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:49:57 PST 2026


tmjbios wrote:

The existing `main` branch fails both `clang-format` and `clang-tidy`. I'll wait until the last minute to address these issues unless someone wants them fixed now.

```
static RT_API_ATTRS const typeInfo::DerivedType *GetDerivedType(
    const Descriptor &desc) {
  if (const DescriptorAddendum * addendum{desc.Addendum()}) {
    if (const auto *derived{addendum->derivedType()}) {
      return derived;
    }
  }
  return nullptr;
}
```

https://github.com/llvm/llvm-project/pull/181008


More information about the flang-commits mailing list