[Lldb-commits] [PATCH] D153054: [lldb][NFCI] TypeSystemClang::GetTypeForIdentifier should take a StringRef
Alex Langford via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 15 10:33:25 PDT 2023
bulbazord created this revision.
bulbazord added reviewers: aprantl, Michael137, augusto2112, JDevlieghere.
Herald added a project: All.
bulbazord requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
This method just takes its ConstString parameter and gets a StringRef
out of it. Let's just pass in a StringRef directly.
This also cleans up some logic in the callers to be a little easier to
read and to avoid unnecessary ConstString creation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153054
Files:
lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153054.531819.patch
Type: text/x-patch
Size: 6989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230615/abc04748/attachment.bin>
More information about the lldb-commits
mailing list