aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-10-30 12:05:01 -0700
committerGitHub <noreply@github.com>2025-10-30 12:05:01 -0700
commit9f64d75f8a03118ecdf62860411984d97a7080f8 (patch)
tree754606a777d5c43de40c148c423c3fdbc326f2ae /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parent546e91bacf2686613908701397ecad0b47165384 (diff)
downloadllvm-9f64d75f8a03118ecdf62860411984d97a7080f8.zip
llvm-9f64d75f8a03118ecdf62860411984d97a7080f8.tar.gz
llvm-9f64d75f8a03118ecdf62860411984d97a7080f8.tar.bz2
[Support] Simplify the continuation condition in encodeSLEB128 (NFC) (#165651)
The boolean expression to determine if more bytes are needed for a signed LEB128 value is quite complex: !((((Value == 0 ) && ((Byte & 0x40) == 0)) || ((Value == -1) && ((Byte & 0x40) != 0)))) This patch simplifies it to an equivalent expression using a ternary operator, which is much easier to understand.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions