This is an archive of the discontinued LLVM Phabricator instance.

[ParseResult] Fix warning in flang build, incorporate feedback from River.
ClosedPublic

Authored by lattner on May 13 2022, 3:29 PM.

Details

Summary

The warning caused build errors on a couple flang testers that are
building with -Werror. The diagnostic change makes the generated
error correct.

This is a followup to https://reviews.llvm.org/D125549

Diff Detail

Event Timeline

lattner created this revision.May 13 2022, 3:29 PM
Herald added a reviewer: rriddle. · View Herald Transcript
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
lattner requested review of this revision.May 13 2022, 3:29 PM
lattner accepted this revision.May 13 2022, 3:30 PM
This revision is now accepted and ready to land.May 13 2022, 3:30 PM
This revision was landed with ongoing or failed builds.May 13 2022, 3:30 PM
This revision was automatically updated to reflect the committed changes.
bondhugula added inline comments.
mlir/lib/Parser/AffineParser.cpp
521

Thanks for fixing this and the other cleanup in the previous patch!

Sweet, thanks!