This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Trim FORMATs echoed to error messages
ClosedPublic

Authored by klausler on Jul 1 2022, 3:21 PM.

Details

Summary

Since dynamic FORMAT strings usually come from blank-padded fixed-length
CHARACTER variables, trim leading and trailing blanks from them when they
are echoed to error messages for better readability.

Diff Detail

Event Timeline

klausler created this revision.Jul 1 2022, 3:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 1 2022, 3:21 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jul 1 2022, 3:21 PM
vdonaldson accepted this revision.Jul 1 2022, 4:51 PM
This revision is now accepted and ready to land.Jul 1 2022, 4:51 PM
This revision was automatically updated to reflect the committed changes.