diff options
author | Peter Klausler <pklausler@nvidia.com> | 2022-10-21 11:22:49 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2022-10-21 12:44:08 -0700 |
commit | 502e7690c3c9698a6982a490f6bf92b0fd24d10f (patch) | |
tree | f53fbedf67193dcd19b0440828f91f80423de52e /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 7a6846378c01d4b79ac9c41b416cf7fc54131666 (diff) | |
download | llvm-502e7690c3c9698a6982a490f6bf92b0fd24d10f.zip llvm-502e7690c3c9698a6982a490f6bf92b0fd24d10f.tar.gz llvm-502e7690c3c9698a6982a490f6bf92b0fd24d10f.tar.bz2 |
[flang] Extend test_errors.py to test warnings and explanatory messages
flang/test/Semantics/test_errors,py only compares actual error messages
with expected error messages. Many tests have expected warning messages
in them, but they are not checked.
A forthcoming change adds several new warning and explanatory messages
to the compiler, and these messages must be testable.
So (re-?) enable non-error message checking in test_errors.py and adjust some
existing tests to get them to pass.
Warning messages related to host-specific folding conditions will not
be emitted on all platforms, so they will continue to be ignored.
Differential Revision: https://reviews.llvm.org/D136479
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions