[Lldb-commits] [lldb] [lldb] Store SupportFile in LineEntry (NFC) (PR #77999)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 12 15:25:33 PST 2024
================
@@ -20,7 +20,7 @@ LineEntry::LineEntry()
void LineEntry::Clear() {
range.Clear();
file.Clear();
- original_file.Clear();
+ original_file = std::make_shared<SupportFile>();
----------------
adrian-prantl wrote:
Is this default-constructing an empty object? Should it be a null shared_ptr?
https://github.com/llvm/llvm-project/pull/77999
More information about the lldb-commits
mailing list