Skip to content

Commit 7e98454

Browse files
committed
[lldb] add review changes
1 parent 81490fb commit 7e98454

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Symbol/Symtab.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,8 +741,7 @@ uint32_t Symtab::AppendSymbolIndexesWithNameAndType(
741741
symbol_visibility, indexes) > 0 &&
742742
symbol_type != eSymbolTypeAny) {
743743
llvm::erase_if(indexes, [this, symbol_type](uint32_t index) {
744-
return symbol_type != eSymbolTypeAny &&
745-
m_symbols[index].GetType() != symbol_type;
744+
return m_symbols[index].GetType() != symbol_type;
746745
});
747746
}
748747
return indexes.size();

0 commit comments

Comments
 (0)