This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix crash from -DMACRO= with empty replacement
ClosedPublic

Authored by klausler on Apr 23 2021, 4:28 PM.

Details

Summary

Such macros were exposing some edge cases in the preprocessor
regarding empty tokens.

Diff Detail

Event Timeline

klausler created this revision.Apr 23 2021, 4:28 PM
klausler requested review of this revision.Apr 23 2021, 4:28 PM
PeteSteinfeld accepted this revision.Apr 23 2021, 7:17 PM

Builds, tests, and looks good.

This revision is now accepted and ready to land.Apr 23 2021, 7:17 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 24 2021, 10:56 AM