diff options
author | Thomas Preud'homme <thomasp@graphcore.ai> | 2020-08-28 11:30:01 +0100 |
---|---|---|
committer | Thomas Preud'homme <thomasp@graphcore.ai> | 2021-04-20 14:42:46 +0100 |
commit | fd941036bf2494cfbd2749f2f179733cbe9e2eb4 (patch) | |
tree | 231056553ec04a2facec068d16dc43ef4a204904 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4897effb14158051bc07a88cb7e84f3b25d5980c (diff) | |
download | llvm-fd941036bf2494cfbd2749f2f179733cbe9e2eb4.zip llvm-fd941036bf2494cfbd2749f2f179733cbe9e2eb4.tar.gz llvm-fd941036bf2494cfbd2749f2f179733cbe9e2eb4.tar.bz2 |
Fix PR46880: Fail CHECK-NOT with undefined variable
Currently a CHECK-NOT directive succeeds whenever the corresponding
match fails. However match can fail due to an error rather than a lack
of match, for instance if a variable is undefined. This commit makes match
error a failure for CHECK-NOT.
Reviewed By: jdenny
Differential Revision: https://reviews.llvm.org/D86222
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions