summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2022-01-15 17:55:12 +0100
committerNikita Popov <nikita.ppv@gmail.com>2022-01-15 17:57:18 +0100
commitd1675e494411050bd3b56ae55ff9c6fd93349c37 (patch)
tree9db83c2346c415bb2b382840c327ea60d2b8b7d2 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parente00158ed5c5dfd15497751941b740f814de065ac (diff)
[AttrBuilder] Remove empty() / td_empty() methods
The empty() method is a footgun: It only checks whether there are non-string attributes, which is not at all obvious from its name, and of dubious usefulness. td_empty() is entirely unused. Drop these methods in favor of hasAttributes(), which checks whether there are any attributes, regardless of whether these are string or enum attributes.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions