aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2025-10-31 09:08:12 +0000
committerGitHub <noreply@github.com>2025-10-31 09:08:12 +0000
commita6eac9e729d781abc8c43a1d45da97f5abcb64e9 (patch)
treea9f7d413201c305c2fbea2f273bb634ebc2de028 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent40fab664d06a85ea6f07c7837ed3631d6f142d2c (diff)
downloadllvm-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