aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2021-12-17 09:52:05 -0800
committerPhilip Reames <listmail@philipreames.com>2021-12-17 10:00:36 -0800
commit4c9e31a4814592bbda7153833e46728dc7b21100 (patch)
tree533809882b3a250e63fb6d81f00eee1988779557 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parentd976fb0204283b5aabf40d805e59ce6d1502d1d9 (diff)
downloadllvm-4c9e31a4814592bbda7153833e46728dc7b21100.zip
llvm-4c9e31a4814592bbda7153833e46728dc7b21100.tar.gz
llvm-4c9e31a4814592bbda7153833e46728dc7b21100.tar.bz2
[funcattrs] Use early return to clarify code in determinePointerAccessAttrs [NFC]
Instead of having the speculative path be the untaken path in the branch, explicitly have it return. This does require tail duplicating one call, but the resulting code is shorter and easier to understand. Also rewrite the condition using appropriate accessors.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions