mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 05:06:07 +00:00

GCC currently does not allow `__builtin_strlen()` during constant evaluation. This PR adds a workaround in `std::char_traits<char>::length()` Reviewed By: Quuxplusone, ldionne, #libc, Mordante Spies: Mordante, libcxx-commits Differential Revision: https://reviews.llvm.org/D115795