diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2025-10-14 11:16:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-14 11:16:19 -0700 |
commit | b358af10a7b783e771a1e5ad6ded3e3535648b06 (patch) | |
tree | c23c85c77e89b1d5478310a308eec34db99083a1 /clang-tools-extra/test/clang-tidy/checkers/modernize/use-auto-cast.cpp | |
parent | d6b22a347f813cf4a9832627323a43074f57bbcf (diff) | |
download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 |
Everything in this commit should be python 3.8 compatible which has
required using older styles of type hints (e.g. `Optional[T]` rather
than 3.10's `T | None` and `List[T]` rather than 3.9's `list[T]`. There
are some python 3.9 type hints in other files which have not been
changed by this commit.
Issues:
qEcho() is passed an argument by the callers that the function didn't
have Several functions in the base class would silently do nothing if
not overriden. These now use `@abstractmethod` to require overrides
sendall() had inconsistent return types between overrides
Compatibility was checked with:
```
uvx vermin -t 3.8 $(find lldb/packages/Python -name '*.py')
```
Compability of the type hints was checked with:
```
uvx vermin -t 3.8 --eval-annotations $(find lldb/packages/Python -name '*.py')
```
and type hint correctness was checked with
```
uvx pyright lldb/packages/Python/lldbsuite/test/gdbclientutils.py
```
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/checkers/modernize/use-auto-cast.cpp')
0 files changed, 0 insertions, 0 deletions