[llvm] [ADT] Use static_assert() rather than assert() where possible (PR #180867)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 11 18:54:35 PST 2026


https://github.com/boomanaiden154 commented:

The commit title needs to be updated beyond just changing to `[ADT]`. This implements a constexpr `is_sorted` and doesn't actually change anything to use `static_assert`.

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


More information about the llvm-commits mailing list