Test all CHECK-NOT in a block even if one fails
authorThomas Preud'homme <thomasp@graphcore.ai>
Wed, 19 Aug 2020 14:47:42 +0000 (15:47 +0100)
committerThomas Preud'homme <thomasp@graphcore.ai>
Mon, 24 Aug 2020 14:45:05 +0000 (15:45 +0100)
commit2c9131665d00c83a13c90db26c4fafaccbc27822
treed6d0586e29170a3c6490a6fe9370b4d3c0cc001e
parent512e256c0d8c0fed5b4603ed5ed74b6ad503f368
Test all CHECK-NOT in a block even if one fails

This commit makes FileCheck print all CHECK-NOT directive failure in a
CHECK-NOT block even if one fails. Prior to that, it would stop trying
to match CHECK-NOT directive as soon as one in the block fails.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D86315
llvm/lib/Support/FileCheck.cpp
llvm/test/FileCheck/multiple-check-not-failures.txt [new file with mode: 0644]