Skip to content

Commit 2151018

Browse files
labathIanWood1
authored andcommitted
[lldb] Fix typo in ManualDWARFIndexSet.h
operator== wasn't used in production code, but the bad definition made the tests vacuosly pass.
1 parent d6311ee commit 2151018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndexSet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ template <typename T> struct IndexSet {
4040

4141
friend bool operator==(const IndexSet &lhs, const IndexSet &rhs) {
4242
return llvm::all_of(Indices(), [&lhs, &rhs](T(IndexSet::*index)) {
43-
return lhs.*index == lhs.*index;
43+
return lhs.*index == rhs.*index;
4444
});
4545
}
4646
};

0 commit comments

Comments
 (0)