diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-14 23:52:39 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-15 09:30:35 +0200 |
| commit | 7cac7e0cfc72c865bfe42cc5c068e17218e600d5 (patch) | |
| tree | 29cd18b289252a92c4eb22ba859fc9d2e90ade49 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 51541c068a83355720e54509a3fca0c2558ee555 (diff) | |
[IR] Prefer hasFnAttribute() where possible (NFC)
When checking for an enum function attribute, use hasFnAttribute()
rather than hasAttribute() at FunctionIndex, because it is
significantly faster (and more concise to boot).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
