llvm/libcxx
Brian Cain 9bf6e3e97e [libcxx] Make test case fmt specifiers more portable
These printf()s fail to compile like so on hexagon:

.../tools/llvm-top/libcxx/test/std/utilities/charconv/charconv.msvc/test.cpp:94:23: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat]
        printf("%u ", elem);
                ~~    ^~~~
                %lu
.../tools/llvm-top/libcxx/test/std/utilities/charconv/charconv.msvc/test.cpp:569:56: error: format specifies type 'unsigned int' but the argument has type 'uint32_t' (aka 'unsigned long') [-Werror,-Wformat]
        fprintf(stderr, "%s failed for 0x%08X\n", msg, bits);
                                         ~~~~          ^~~~
                                         %08lX
.../tools/llvm-top/libcxx/test/std/utilities/charconv/charconv.msvc/test.cpp:1096:43: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat]
    printf("Randomized test cases: %u\n", PrefixesToTest * Fractions);
                                   ~~     ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                   %lu

Differential Revision: https://reviews.llvm.org/D120532
2022-03-01 12:07:23 -08:00
..
benchmarks [libc++] Fix modules and benchmarks CI builds when incomplete features are disabled 2022-02-08 15:15:07 -05:00
cmake [libcxx] Add an explicit option to build against system-libcxxabi 2022-03-01 13:44:56 -05:00
docs [libcxx] Add an explicit option to build against system-libcxxabi 2022-03-01 13:44:56 -05:00
include [libc++] Add explicit to a bunch of internal detail ctors. 2022-03-01 14:37:06 -05:00
lib [runtimes] Remove FOO_TARGET_TRIPLE, FOO_SYSROOT and FOO_GCC_TOOLCHAIN 2022-03-01 08:39:42 -05:00
src [libc++] Fix double file closing in std::filesystem::remove_all(). 2022-02-28 12:56:36 -05:00
test [libcxx] Make test case fmt specifiers more portable 2022-03-01 12:07:23 -08:00
utils [libcxx] [test] Fix the put_double, put_long_double tests for clang-cl 2022-03-01 21:33:30 +02:00
.clang-format
.clang-tidy [libc++][test] Run clang-tidy during CI 2022-02-16 00:22:08 +01:00
.gitignore
appveyor-reqs-install.cmd
appveyor.yml
CMakeLists.txt [runtimes] Remove FOO_TARGET_TRIPLE, FOO_SYSROOT and FOO_GCC_TOOLCHAIN 2022-03-01 08:39:42 -05:00
CREDITS.TXT
LICENSE.TXT
TODO.TXT