This is an archive of the discontinued LLVM Phabricator instance.

[flang] Ensure Preprocessor::Define() saves macro names correctly
ClosedPublic

Authored by klausler on Aug 12 2020, 4:23 PM.

Details

Summary

This fixes problems with macros defined with -D on the command line
and predefined macros defined in the throwaway driver program.

Diff Detail

Event Timeline

klausler created this revision.Aug 12 2020, 4:23 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Aug 12 2020, 4:23 PM
PeteSteinfeld accepted this revision.Aug 12 2020, 8:55 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Aug 12 2020, 8:55 PM
sscalpone accepted this revision.Aug 12 2020, 8:57 PM

LGTM! It would be great to have test so this doesn't regress

klausler closed this revision.Aug 13 2020, 10:05 AM