diff options
| author | Philip Reames <listmail@philipreames.com> | 2021-12-17 09:52:05 -0800 |
|---|---|---|
| committer | Philip Reames <listmail@philipreames.com> | 2021-12-17 10:00:36 -0800 |
| commit | 4c9e31a4814592bbda7153833e46728dc7b21100 (patch) | |
| tree | 533809882b3a250e63fb6d81f00eee1988779557 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp | |
| parent | d976fb0204283b5aabf40d805e59ce6d1502d1d9 (diff) | |
| download | llvm-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/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions
