
This is a follow-up to b71edfaa4ec3c998aadb35255ce2f60bba2940b0 since I forgot the lit.local.cfg files in that one. Reformatting is done with `black`. If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black. If you run into any problems, post to discourse about it and we will try to help. RFC Thread below: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: barannikov88, kwk Differential Revision: https://reviews.llvm.org/D150762
6 lines
229 B
Python
6 lines
229 B
Python
# -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79:
|
|
from lit.llvm.subst import ToolSubst
|
|
|
|
fc = ToolSubst("FileCheck", unresolved="fatal")
|
|
config.substitutions.insert(0, (fc.regex, "FileCheck --allow-unused-prefixes"))
|