[llvm] [ADT] Add DebugEpochBase::HandleBase::isComparableWith (NFC) (PR #219738)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 29 18:34:20 PDT 2026


MaskRay wrote:

Should drop NFC. 
```
┌─────────────────────────────────────────────┬────────┬───────┐
│                    probe                    │ before │ after │
├─────────────────────────────────────────────┼────────┼───────┤
│ S1.begin() == S2.begin() (two SmallPtrSets) │ false  │ abort │
├─────────────────────────────────────────────┼────────┼───────┤
│ It == S.end() after S.insert(...)           │ false  │ abort │
├─────────────────────────────────────────────┼────────┼───────┤
│ default-constructed iter == S.end()         │ false  │ abort │
├─────────────────────────────────────────────┼────────┼───────┤
│ It = S.find(x); S.reserve(0); It == S.end() │ false  │ abort │
└─────────────────────────────────────────────┴────────┴───────┘
```

https://github.com/llvm/llvm-project/pull/219738


More information about the llvm-commits mailing list