Use the ultimate symbol while calling the IsAllocatableOrPointer
function to ensure that the check works as expected for
host-associated symbols.
Fixes #58178
Differential D135443
[Flang] Use the ultimate symbol in a DeallocateStmt check kiranchandramohan on Oct 7 2022, 5:29 AM. Authored by
Details Use the ultimate symbol while calling the IsAllocatableOrPointer Fixes #58178
Diff Detail
Event TimelineComment Actions Please run clang-format on check-deallocate.cpp before submitting. Other than that, all builds and tests correctly and looks good. Thanks for fixing this!
|
I get a diff on this line when I run clang-format.