diff options
author | Luke Lau <luke@igalia.com> | 2024-02-20 17:36:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 17:36:01 +0800 |
commit | 283a6b9936657712f61c38459c87507e587e3625 (patch) | |
tree | 7c10c265fce7f912c4880b774bafef10341d075d /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 9fa18f65983ba761c9fbf7be4c67801a14bf4b34 (diff) | |
download | llvm-283a6b9936657712f61c38459c87507e587e3625.zip llvm-283a6b9936657712f61c38459c87507e587e3625.tar.gz llvm-283a6b9936657712f61c38459c87507e587e3625.tar.bz2 |
[UTC] Fix SyntaxWarning on Python 3.12 (#82327)
On Python 3.12 we now get a warning in common.py:
llvm/utils/UpdateTestChecks/common.py:488: SyntaxWarning: invalid escape
sequence '\s'
This fixes it by using a raw string literal, see
https://github.com/llvm/llvm-project/pull/78036 and
https://docs.python.org/3/library/re.html
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions