This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't check procedure pointer interface function result specification expressions
ClosedPublic

Authored by klausler on Aug 3 2022, 1:08 PM.

Details

Summary

When a procedure pointer references a function as its interface, don't
apply semantic checks to the specification expressions that appear in
the declaration of the function's result -- this can lead to bogus
error messages as those specification expressions are being examined
out of their proper context.

Diff Detail

Event Timeline

klausler created this revision.Aug 3 2022, 1:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 1:08 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 3 2022, 1:08 PM
vdonaldson accepted this revision.Aug 3 2022, 4:09 PM
This revision is now accepted and ready to land.Aug 3 2022, 4:09 PM