This is an archive of the discontinued LLVM Phabricator instance.

[flang] Do not finalize pointer function result
ClosedPublic

Authored by clementval on Feb 2 2023, 1:49 AM.

Details

Summary

According to 7.5.6.3 point 5, only nonpointer function result
need to be finalized. Update the condition to exclude pointer
function result.

Diff Detail

Event Timeline

clementval created this revision.Feb 2 2023, 1:49 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 2 2023, 1:49 AM
clementval requested review of this revision.Feb 2 2023, 1:49 AM
clementval retitled this revision from [flang] Do not finalize pointer function reference to [flang] Do not finalize pointer function result.Feb 2 2023, 1:49 AM
clementval edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Feb 2 2023, 2:35 AM
clementval edited the summary of this revision. (Show Details)

clang-format

This revision was automatically updated to reflect the committed changes.