aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorChris Lattner <clattner@nondot.org>2021-06-05 11:38:31 -0700
committerChris Lattner <clattner@nondot.org>2021-06-08 09:47:07 -0700
commit92a79dbe91413f685ab19295fc7a6297dbd6c824 (patch)
tree62215481919fbe9d00d1cf5ea50504ca6541541a /llvm/lib/Support/TargetParser.cpp
parent08664d005c02003180371049b19c7e5d01541c58 (diff)
downloadllvm-92a79dbe91413f685ab19295fc7a6297dbd6c824.zip
llvm-92a79dbe91413f685ab19295fc7a6297dbd6c824.tar.gz
llvm-92a79dbe91413f685ab19295fc7a6297dbd6c824.tar.bz2
[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 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions