[Lldb-commits] [PATCH] D113604: [lldb][NFC] Format lldb/include/lldb/Symbol/Type.h
David Blaikie via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 29 16:50:07 PST 2021
dblaikie added inline comments.
================
Comment at: lldb/include/lldb/Symbol/Type.h:205-206
+ static bool GetTypeScopeAndBasename(const llvm::StringRef name,
+ llvm::StringRef scope,
+ llvm::StringRef basename,
lldb::TypeClass &type_class);
----------------
Looks like this could've broken some tests - might be best to revert and retest?
The `const StringRef&` should've been changed to `StringRef` per @JDevlieghere's comment, but the non-const `StringRef&` were/are probably load-bearing - they're the result of calling this function (using mutable ref parameters as "out" parameters) & passing them by value breaks that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113604/new/
https://reviews.llvm.org/D113604
More information about the lldb-commits
mailing list