[PATCH] D78024: [FileCheck] - Fix the false positive when -implicit-check-not is used with an unknown -check-prefix.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 02:49:31 PDT 2020
grimar marked an inline comment as done.
grimar added inline comments.
================
Comment at: llvm/test/FileCheck/implicit-check-not.txt:3
+
+; Check we report an error when an unknown prefix is used together with `-implicit-check-not`.
+; RUN: sed 's#^;.*##' %s | %ProtectFileCheckOutput not FileCheck -check-prefix=UNKNOWN-PREFIX -implicit-check-not=abc %s 2>&1 | FileCheck %s -DPREFIX=UNKNOWN-PREFIX -check-prefix CHECK-PREFIX-ERROR
----------------
MaskRay wrote:
> `;; `
No FileCheck test does that, so I'd avoid introducing it in this patch.
(Generally the idea is probably good, it is consistent with `##` we use for comments in tools tests.)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78024/new/
https://reviews.llvm.org/D78024
More information about the llvm-commits
mailing list