This is an archive of the discontinued LLVM Phabricator instance.

[flang] Accept a null pointer as a NULL(MOLD=...) actual argument
ClosedPublic

Authored by klausler on Aug 18 2022, 11:27 AM.

Details

Summary

The MOLD= argument to NULL() is allowed to be a null pointer itself --
for example, NULL(MOLD=NULL(MOLD=...)) should not raise spurious semantic
errors.

Diff Detail

Event Timeline

klausler created this revision.Aug 18 2022, 11:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2022, 11:27 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 18 2022, 11:27 AM
vdonaldson accepted this revision.Aug 18 2022, 11:51 AM
This revision is now accepted and ready to land.Aug 18 2022, 11:51 AM