diff options
author | Martin Storsjö <martin@martin.st> | 2021-10-12 19:36:33 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-10-13 22:55:01 +0300 |
commit | a03e17d4d9419811da16bc2e893fd0cf9b8aa2a7 (patch) | |
tree | a8ed280e71b615344981e130d30a66e03b75bd32 /clang/lib/Tooling/JSONCompilationDatabase.cpp | |
parent | b541845ea082d1dfca53074b4353e1ee0c22dd76 (diff) | |
download | llvm-a03e17d4d9419811da16bc2e893fd0cf9b8aa2a7.zip llvm-a03e17d4d9419811da16bc2e893fd0cf9b8aa2a7.tar.gz llvm-a03e17d4d9419811da16bc2e893fd0cf9b8aa2a7.tar.bz2 |
[libcxx] [test] Generalize the conditions for testing bitcasts between long double, double and int128
MSVC targets also have a 64 bit long double, as do MinGW targets on ARM.
This hasn't been noticed in CI because the MSVC configurations there run
with _LIBCPP_HAS_NO_INT128 defined.
This avoids assuming that either __int128_t or double is equal in size to
long double. i386 MinGW targets have sizeof(long double) == 10, which
doesn't match any of the tested types.
Differential Revision: https://reviews.llvm.org/D111671
Diffstat (limited to 'clang/lib/Tooling/JSONCompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions