You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ADT] Refactor SmallVector::assertSafeToAddRange with "constexpr if" (#160004)
This patch consolidates two implementations of assertSafeToAddRange
into a single template function.
The new implementation uses "constexpr if" to check for pointer
iterators, preserving the original behavior while simplifying the
code.
0 commit comments