This change makes it easier to migrate existing code that uses std::set (which support equality comparison) to SmallPtrSet.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D69429
[ADT] Adds equality operator for SmallPtrSet ClosedPublic Authored by yrouban on Oct 25 2019, 4:26 AM.
Details Summary This change makes it easier to migrate existing code that uses std::set (which support equality comparison) to SmallPtrSet.
Diff Detail
Event Timelinetellenbach added inline comments. This revision is now accepted and ready to land.Oct 28 2019, 3:15 AM Closed by commit rGa7716a3c3c9c: [ADT] Add equality operator for SmallPtrSet (authored by yrouban). · Explain WhyNov 5 2019, 8:18 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 227999 llvm/include/llvm/ADT/SmallPtrSet.h
llvm/unittests/ADT/SmallPtrSetTest.cpp
|
NIT: Can this be const?