aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2023-05-26 21:19:10 -0700
committerDave Lee <davelee.com@gmail.com>2023-05-31 08:08:40 -0700
commitcb463c34dd4c3ad2ac6c13f98edcf684a3fcbe38 (patch)
tree5cebbd261ee7e551288ae5b2abc5d5864d6c141b /llvm/lib/Support/APInt.cpp
parente0df106818ccb90dc46c5296ed5ef2eda75564ff (diff)
downloadllvm-cb463c34dd4c3ad2ac6c13f98edcf684a3fcbe38.zip
llvm-cb463c34dd4c3ad2ac6c13f98edcf684a3fcbe38.tar.gz
llvm-cb463c34dd4c3ad2ac6c13f98edcf684a3fcbe38.tar.bz2
[lldb] Take StringRef name in GetChildMemberWithName (NFC)
`GetChildMemberWithName` does not need a `ConstString`. This change makes the function take a `StringRef` instead, which alleviates the need for callers to construct a `ConstString`. I don't expect this change to improve performance, only ergonomics. This is in support of Alex's effort to replace `ConstString` where appropriate. There are related `ValueObject` functions that can also be changed, if this is accepted. Differential Revision: https://reviews.llvm.org/D151615
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions