summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-07-07 22:41:12 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-07-07 22:43:17 +0200
commite000b848e65c3fc7d3c153d15cd20bbd92d9427c (patch)
tree8a4812a1d8184759ed2f8ca969582e00bbc50436 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentcae3b831f4304d4487dd7c767ff88face51ea0dc (diff)
[IR] Simplify Attribute::getAsString() (NFC)
Avoid enumerating all attributes here and instead use getNameFromAttrKind(), which is based on the tablegen data. This only leaves us with custom handling for int attributes, which don't have uniform printing.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions