forked from OSchip/llvm-project
3331b6eab3
The python documentation says "it’s highly recommended that you use raw strings for all but the simplest expressions." (https://docs.python.org/3/library/re.html) So do that with the attached patch generated by sed -i -e "s/re.search('/re.search(r'/g" $(git grep -l 're.search(') The warning can be seen in e.g. python3.7: $ python3.7 -Wd >>> import re; re.search('\s', '') <stdin>:1: DeprecationWarning: invalid escape sequence \s Commited on behalf of Marco Falke. Differential Revision: https://reviews.llvm.org/D57528 llvm-svn: 353707 |
||
---|---|---|
.. | ||
resources | ||
__init__.py | ||
analyze.py | ||
arguments.py | ||
clang.py | ||
compilation.py | ||
intercept.py | ||
report.py | ||
shell.py |