This is an archive of the discontinued LLVM Phabricator instance.

[flang] Support multiple CookedSource instances
ClosedPublic

Authored by klausler on Aug 31 2020, 12:50 PM.

Details

Summary

These are owned by an instance of a new class AllCookedSources.

This removes the need for a Scope to own a string containing
a module's cooked source stream, and will enable errors to be
emitted when parsing module files in the future.

Diff Detail

Event Timeline

klausler created this revision.Aug 31 2020, 12:50 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Aug 31 2020, 12:50 PM
PeteSteinfeld accepted this revision.Aug 31 2020, 1:22 PM

Builds, tests, and looks good.

This revision is now accepted and ready to land.Aug 31 2020, 1:22 PM

Oops, I approved too soon. I'm still looking at this.

I get failures in Semantics/getsymbols02.f90. I can't figure out how to cancel my previous approval, though.

klausler updated this revision to Diff 289497.Sep 2 2020, 9:37 AM

Update test results.

This revision was landed with ongoing or failed builds.Sep 2 2020, 10:35 AM
This revision was automatically updated to reflect the committed changes.