This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow tabs as white space in formats
ClosedPublic

Authored by vdonaldson on Feb 16 2022, 3:39 PM.

Details

Reviewers
klausler
Summary

The fortran standard views blanks in IO formats as white space in
non-string contexts. Other compilers extend this to also view horizontal
tabs as white space. Some compilers additionally add other white space
characters to this group.

Add recognition of horizontal and vertical tabs to runtime format
validation code to match what the runtime code currently does.

Diff Detail

Event Timeline

vdonaldson created this revision.Feb 16 2022, 3:39 PM
vdonaldson requested review of this revision.Feb 16 2022, 3:39 PM
vdonaldson added a reviewer: klausler.
klausler accepted this revision.Feb 16 2022, 3:43 PM

Looks great; thanks for taking care of this.

This revision is now accepted and ready to land.Feb 16 2022, 3:43 PM