diff options
author | Mark de Wever <koraq@xs4all.nl> | 2021-05-12 17:46:24 +0200 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2021-05-12 21:09:49 +0200 |
commit | c273f5ef7d3f5ac05f67ec899e25830cd9543e56 (patch) | |
tree | d3b2cbe3d12325ef84c232359103d03ffbb309f8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a8f7dee1dffbf8c18acbcc7b1f6d659bf808798e (diff) | |
download | llvm-c273f5ef7d3f5ac05f67ec899e25830cd9543e56.zip llvm-c273f5ef7d3f5ac05f67ec899e25830cd9543e56.tar.gz llvm-c273f5ef7d3f5ac05f67ec899e25830cd9543e56.tar.bz2 |
[libc++][nfc] remove duplicated __to_unsigned.
Both `<type_traits>` and `<charconv>` implemented this function with
different names and a slightly different behavior. This removes the
version in `<charconv>` and improves the version in `<typetraits>`.
- The code can be used again in C++11.
- The original claimed C++14 support, but `[[nodiscard]]` is not
available in C++14.
- Adds `_LIBCPP_INLINE_VISIBILITY`.
Reviewed By: zoecarver, #libc, Quuxplusone
Differential Revision: https://reviews.llvm.org/D102332
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions