This is an archive of the discontinued LLVM Phabricator instance.

[flang] Disallow NULL() as an expression where it cannot appear
ClosedPublic

Authored by klausler on Nov 30 2022, 2:44 PM.

Details

Summary

A NULL() pointer is generally not a valid expression (as opposed to
a variable) apart from some initialization contexts and some actual
arguments.

Diff Detail

Event Timeline

klausler created this revision.Nov 30 2022, 2:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 30 2022, 2:44 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Nov 30 2022, 2:44 PM
PeteSteinfeld accepted this revision.Dec 1 2022, 9:31 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Dec 1 2022, 9:31 AM