[PATCH] D17587: [FileCheck] Abort if -NOT is combined with another suffix
Paul Robinson via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 13:04:41 PST 2016
probinson added a comment.
In http://reviews.llvm.org/D17587#362136, @arsenm wrote:
> In http://reviews.llvm.org/D17587#362122, @probinson wrote:
> > Another one I've tripped over is that if you specify multiple -check-prefix options, FileCheck won't detect typos. It insists that any specified combination of prefixes must result in a nonzero number of checks, but it doesn't verify that each individual prefix occurs at least once.
> I would not want it to verify that each individual prefix occurs at least once
What is your use-case for a -check-prefix option that specifies a prefix that does not exist?
More information about the llvm-commits