[all-commits] [llvm/llvm-project] f62fe0: [FileCheck] Disallow unused prefixes in llvm/test/...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Thu Nov 19 07:57:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f62fe0ee3bff8a9048d6182697ffca71321759bf
      https://github.com/llvm/llvm-project/commit/f62fe0ee3bff8a9048d6182697ffca71321759bf
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-11-19 (Thu, 19 Nov 2020)

  Changed paths:
    A llvm/test/Analysis/lit.local.cfg

  Log Message:
  -----------
  [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




More information about the All-commits mailing list