[Lldb-commits] [lldb] [lldb][NFC] Use unique_ptr for SearchFilter (PR #203239)
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 11 03:45:49 PDT 2026
================
@@ -197,10 +197,10 @@ class SearchFilter {
/// Standard "Dump" method. At present it does nothing.
virtual void Dump(Stream *s) const;
- lldb::SearchFilterSP CreateCopy(lldb::TargetSP& target_sp);
+ std::unique_ptr<SearchFilter> CreateCopy(lldb::TargetSP &target_sp);
- static lldb::SearchFilterSP
- CreateFromStructuredData(const lldb::TargetSP& target_sp,
+ static std::unique_ptr<SearchFilter>
+ CreateFromStructuredData(const lldb::TargetSP &target_sp,
----------------
felipepiovezan wrote:
`clang-format --staged` insists on formatting this line as well.
https://github.com/llvm/llvm-project/pull/203239
More information about the lldb-commits
mailing list