[libc++] Mark __u64toa and __u32toa as noexcept
authorLouis Dionne <ldionne@apple.com>
Thu, 21 May 2020 14:25:15 +0000 (10:25 -0400)
committerLouis Dionne <ldionne@apple.com>
Fri, 22 May 2020 20:11:44 +0000 (16:11 -0400)
commit485b9083fe69601c9f3f91f7f1be9d7f3a26bb1e
tree2da3b6f9ded908081f6c84f670bf0950e6a4a76b
parenta67b2faa7c4cfbceffb4213f46769c45a5a9291a
[libc++] Mark __u64toa and __u32toa as noexcept

The two functions don't throw, and the generated code is better when
we explicitly tell the compiler that the functions are noexcept. This
isn't an ABI break because the signatures of the functions stay the
same with or without noexcept.

Fixes https://llvm.org/PR46016

Differential Revision: https://reviews.llvm.org/D80379
libcxx/include/charconv
libcxx/src/charconv.cpp