Skip to content

Commit 30df629

Browse files
committed
[lldb][DataFormatter][NFC] Remove duplicate null-check in std::map iterator formatter
The nullness is already checked a few lines before this.
1 parent 2dda8a2 commit 30df629

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,6 @@ lldb_private::formatters::LibCxxMapIteratorSyntheticFrontEnd::Update() {
245245
if (!target_sp)
246246
return lldb::ChildCacheState::eRefetch;
247247

248-
if (!valobj_sp)
249-
return lldb::ChildCacheState::eRefetch;
250-
251248
// this must be a ValueObject* because it is a child of the ValueObject we
252249
// are producing children for it if were a ValueObjectSP, we would end up
253250
// with a loop (iterator -> synthetic -> child -> parent == iterator) and

0 commit comments

Comments
 (0)