[llvm] [flang][runtime] fix intrinsics case of extends_type_of (PR #161466)
Peter Klausler via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 1 09:07:18 PDT 2025
================
@@ -227,6 +227,7 @@ class Descriptor {
RT_API_ATTRS bool IsPointer() const {
return raw_.attribute == CFI_attribute_pointer;
}
+ RT_API_ATTRS bool IsAssociated() const { return raw_.base_addr != nullptr; }
----------------
klausler wrote:
`IsAllocated` does exist and it does the job.
https://github.com/llvm/llvm-project/pull/161466
More information about the llvm-commits
mailing list