[all-commits] [llvm/llvm-project] 87dbdd: [FileCheck] Default --allow-unused-prefixes to false
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Feb 8 13:37:30 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87dbdd2e3bb63b681f8cc3179ef5c2d5929bbf61
https://github.com/llvm/llvm-project/commit/87dbdd2e3bb63b681f8cc3179ef5c2d5929bbf61
Author: Fangrui Song <i at maskray.me>
Date: 2021-02-08 (Mon, 08 Feb 2021)
Changed paths:
M clang/test/Driver/crash-report-null.test
M clang/test/OpenMP/lit.local.cfg
M clang/test/lit.cfg.py
M llvm/test/FileCheck/allow-unused-prefixes.txt
M llvm/test/FileCheck/lit.local.cfg
M llvm/test/Other/opt-bisect-legacy-pass-manager.ll
R llvm/test/Reduce/lit.local.cfg
M llvm/test/Transforms/Attributor/lit.local.cfg
M llvm/test/lit.cfg.py
M llvm/utils/FileCheck/FileCheck.cpp
Log Message:
-----------
[FileCheck] Default --allow-unused-prefixes to false
Link: https://lists.llvm.org/pipermail/llvm-dev/2020-October/146162.html "[RFC] FileCheck: (dis)allowing unused prefixes"
If a downstream project using lit needs time for transition,
add the following to `lit.local.cfg`:
```
from lit.llvm.subst import ToolSubst
fc = ToolSubst('FileCheck', unresolved='fatal')
config.substitutions.insert(0, (fc.regex, 'FileCheck --allow-unused-prefixes'))
```
Differential Revision: https://reviews.llvm.org/D95849
More information about the All-commits
mailing list