[Lldb-commits] [PATCH] D154534: [lldb][NFCI] Minor cleanups to StructuredData::GetObjectForDotSeparatedPath
Felipe de Azevedo Piovezan via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 5 11:27:44 PDT 2023
fdeazeve added inline comments.
================
Comment at: lldb/source/Utility/StructuredData.cpp:120
+ return value->GetObjectForDotSeparatedPath(match.second);
+ } else if (GetType() == lldb::eStructuredDataTypeArray) {
std::pair<llvm::StringRef, llvm::StringRef> match = path.split('[');
----------------
Shouldn't we remove this `else`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154534/new/
https://reviews.llvm.org/D154534
More information about the lldb-commits
mailing list