We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::to_chars is generating exception handling code, because internals functions are not marked noexcept and clang can't proof they won't throw:
std::to_chars
noexcept
namespace __itoa { _LIBCPP_FUNC_VIS char* __u64toa(uint64_t __value, char* __buffer); _LIBCPP_FUNC_VIS char* __u32toa(uint32_t __value, char* __buffer); }
if you add noexcept there it will generate more efficient code:
https://compiler-explorer.com/z/H29awf
The text was updated successfully, but these errors were encountered:
assigned to @mclow
Sorry, something went wrong.
https://reviews.llvm.org/D80379
This bug has been addressed by https://llvm.org/D80379.
mclow
No branches or pull requests
Extended Description
std::to_chars
is generating exception handling code, because internals functions are not markednoexcept
and clang can't proof they won't throw:if you add
noexcept
there it will generate more efficient code:https://compiler-explorer.com/z/H29awf
The text was updated successfully, but these errors were encountered: