diff options
author | Dave Lee <davelee.com@gmail.com> | 2024-11-18 16:15:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 16:15:41 -0800 |
commit | 170e1fe5a5211420923e32995d8bf3da196c2a54 (patch) | |
tree | 6feb307f9a24c006a5908b6633f81eb3104f61b7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e914d97327ce5887e51c2d650987f2f48eda85c1 (diff) | |
download | llvm-170e1fe5a5211420923e32995d8bf3da196c2a54.zip llvm-170e1fe5a5211420923e32995d8bf3da196c2a54.tar.gz llvm-170e1fe5a5211420923e32995d8bf3da196c2a54.tar.bz2 |
[lldb] Fix regex support in SBTarget.modules_access (#116452)
First, `SRE_Pattern` does not exist on newer Python's, use
`type(re.compile(''))` like other Python extensions do. The dynamic type
is because some earlier versions of Python 3 do not have `re.Pattern`.
Second, `SBModule` has a `file` property, not a `path` property.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions