diff options
| author | Michael Buch <michaelbuch12@gmail.com> | 2025-10-31 09:08:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-31 09:08:12 +0000 |
| commit | a6eac9e729d781abc8c43a1d45da97f5abcb64e9 (patch) | |
| tree | a9f7d413201c305c2fbea2f273bb634ebc2de028 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
| parent | 40fab664d06a85ea6f07c7837ed3631d6f142d2c (diff) | |
| download | llvm-a6eac9e729d781abc8c43a1d45da97f5abcb64e9.zip llvm-a6eac9e729d781abc8c43a1d45da97f5abcb64e9.tar.gz llvm-a6eac9e729d781abc8c43a1d45da97f5abcb64e9.tar.bz2 | |
[lldb][TypeSystem] Remove count parameter from TypeSystem::GetEncoding (#165702)
There were a couple of quirks with this parameter:
1. It wasn't being set consistently. E.g., vector types would be of
count `1` but complex types would be `2`. Hence, it wasn't clear what
count was referring to.
2. `count` was not being set if the input type was invalid, possibly
leaving the input reference uninitialized.
3. Only one callsite actually made use of `count`, and that in itself
seems like it could be improved (added a FIXME).
If we ever need a "how many elements does this type represent", we can
implement one with a new `TypeSystem` API that does exactly that.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions
