This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] Address warnings from Windows build
ClosedPublic

Authored by klausler on Oct 12 2021, 1:43 PM.

Details

Summary

An LLVM Flang build bot for Windows recently failed with a
bunch of warning messages. None were from recent changes to
the Fortran compiler; I suspect that a newer (or maybe older)
version of MSVC was being used, or perhaps a different set of
compiler options were temporarily applied to the build, since
the buildbot status went back to green shortly thereafter.

Most of the warnings looked bogus to me, but some are legitimate
concerns and we might as well clean them up. This patch does so.

Diff Detail

Event Timeline

klausler created this revision.Oct 12 2021, 1:43 PM
klausler requested review of this revision.Oct 12 2021, 1:43 PM
PeteSteinfeld accepted this revision.Oct 12 2021, 3:30 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Oct 12 2021, 3:30 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptOct 12 2021, 4:00 PM