@lebedev.ri This is what I had in mind. The code is correct and more precise without the check for wrapping sets, we just need a different testing function that can deal with wrapping ranges.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This is fixing something for which we essentially lack test coverage. Test coverage i complained we lack.
Comment Actions
Looks like I reimplemented this in https://github.com/llvm/llvm-project/commit/b6088f7465a9a6691d5d237e9c0eb002734da3bf.
clang-format: please reformat the code