This came up in D100595.
Details
Details
- Reviewers
krisb ldionne • Quuxplusone curdeius - Group Reviewers
Restricted Project - Commits
- rG5e7367d3e444: Add a missing debug assertion in <list>.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM if this will get tested by https://reviews.llvm.org/D100595.
libcxx/include/list | ||
---|---|---|
2093 | Hmm, would it make sense to add as well a debug check that __p is not in range [__f, __l) (that's a UB)? |
libcxx/include/list | ||
---|---|---|
2093 | Perhaps, but I don't think we have any such assertions at the moment, and that would need a new test; so I'm deferring it to a separate PR (and probably a separate programmer :)) |
Hmm, would it make sense to add as well a debug check that __p is not in range [__f, __l) (that's a UB)?