This is an archive of the discontinued LLVM Phabricator instance.

[flasg] Debug folding of substring references
ClosedPublic

Authored by klausler on Jan 14 2022, 10:59 AM.

Details

Summary

Character substrings weren't being folded correctly;
add tests and rework the implementation so that substrings
of literals and named constant character scalars & arrays
are properly folded for use in constant expressions.

Diff Detail

Event Timeline

klausler created this revision.Jan 14 2022, 10:59 AM
klausler requested review of this revision.Jan 14 2022, 10:59 AM
PeteSteinfeld accepted this revision.Jan 14 2022, 2:49 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jan 14 2022, 2:49 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2022, 4:09 PM