diff options
| author | Chris Lattner <clattner@nondot.org> | 2021-06-05 11:38:31 -0700 |
|---|---|---|
| committer | Chris Lattner <clattner@nondot.org> | 2021-06-08 09:47:07 -0700 |
| commit | 92a79dbe91413f685ab19295fc7a6297dbd6c824 (patch) | |
| tree | 62215481919fbe9d00d1cf5ea50504ca6541541a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 08664d005c02003180371049b19c7e5d01541c58 (diff) | |
[Core] Add Twine support for StringAttr and Identifier. NFC.
This is both more efficient and more ergonomic than going
through an std::string, e.g. when using llvm::utostr and
in string concat cases.
Unfortunately we can't just overload ::get(). This causes an
ambiguity because both twine and stringref implicitly convert
from std::string.
Differential Revision: https://reviews.llvm.org/D103754
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
