diff options
author | Fangrui Song <i@maskray.me> | 2021-02-08 13:37:03 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-02-08 13:37:04 -0800 |
commit | 87dbdd2e3bb63b681f8cc3179ef5c2d5929bbf61 (patch) | |
tree | f7715781410fb4481455147f2762d59f3303b8d3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ad60802a7187aa39b0374536be3fa176fe3d6256 (diff) | |
download | llvm-87dbdd2e3bb63b681f8cc3179ef5c2d5929bbf61.zip llvm-87dbdd2e3bb63b681f8cc3179ef5c2d5929bbf61.tar.gz llvm-87dbdd2e3bb63b681f8cc3179ef5c2d5929bbf61.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions