Author: Pavel Labath Date: 2025-04-23T18:22:26+02:00 New Revision: 1da856a685cf427ab1f5b810125c41e7859ed362
URL: https://github.com/llvm/llvm-project/commit/1da856a685cf427ab1f5b810125c41e7859ed362 DIFF: https://github.com/llvm/llvm-project/commit/1da856a685cf427ab1f5b810125c41e7859ed362.diff LOG: [lldb] Fix typo in ManualDWARFIndexSet.h operator== wasn't used in production code, but the bad definition made the tests vacuosly pass. Added: Modified: lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndexSet.h Removed: ################################################################################ diff --git a/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndexSet.h b/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndexSet.h index 3a0fd84dc36b6..7fb57421c57dd 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndexSet.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndexSet.h @@ -40,7 +40,7 @@ template <typename T> struct IndexSet { friend bool operator==(const IndexSet &lhs, const IndexSet &rhs) { return llvm::all_of(Indices(), [&lhs, &rhs](T(IndexSet::*index)) { - return lhs.*index == lhs.*index; + return lhs.*index == rhs.*index; }); } }; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits