[FileCheck] Disallow unused prefixes in llvm/test/Analysis
authorMircea Trofin <mtrofin@google.com>
Wed, 11 Nov 2020 17:12:43 +0000 (09:12 -0800)
committerMircea Trofin <mtrofin@google.com>
Thu, 19 Nov 2020 15:56:35 +0000 (07:56 -0800)
commitf62fe0ee3bff8a9048d6182697ffca71321759bf
tree9b87d78c2dc53bd90fc8ae67a2f7acfc32b63b7f
parentab77fa515583ca906f2cb09a5f5e1ea3c48ec725
[FileCheck] Disallow unused prefixes in llvm/test/Analysis

This is achieved through a substitution of FileCheck in lit.cfg.py,
where we explicitly set -allow-unused-prefixes to false.

We also introduce a %FileCheckWithUnusedPrefixes% substitution that can
be used in those cases where we want to allow unused prefixes, even if
the folder policy is to disallow them.

Differential Revision: https://reviews.llvm.org/D91275
llvm/test/Analysis/lit.local.cfg [new file with mode: 0644]