[lit] Replace slots with @dataclass(slots=True) in lit shell utilities
Open
llvm-lit
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
There are a few classes in lit that currently use `__slots__` and have manually written `__init__` methods. Once the minimum supported Python version is bumped to 3.10, these methods can be simplified using `dataclass(slots=True)`.
This issue tracks replacing such usages and updating the associated TODO comments after the Python version bump.
Contributor guide
Assessment
This issue has not been assessed yet.