Author: Henrik G. Olsson Date: 2026-07-15T18:06:37-07:00 New Revision: d4676e649ba86d7c389e1afe6d9ed4d8443e23ef
URL: https://github.com/llvm/llvm-project/commit/d4676e649ba86d7c389e1afe6d9ed4d8443e23ef DIFF: https://github.com/llvm/llvm-project/commit/d4676e649ba86d7c389e1afe6d9ed4d8443e23ef.diff LOG: [clang][bytecode] long double on arm64 darwin is 8 bytes (NFC) (#209930) This test was failing on arm64 darwin targets. Generalise the #if so that the win32 branch is also taken by arm64 darwin. rdar://182340494 Added: Modified: clang/test/AST/ByteCode/builtin-object-size.cpp Removed: ################################################################################ diff --git a/clang/test/AST/ByteCode/builtin-object-size.cpp b/clang/test/AST/ByteCode/builtin-object-size.cpp index 69534025fe3f4..31b95990f658c 100644 --- a/clang/test/AST/ByteCode/builtin-object-size.cpp +++ b/clang/test/AST/ByteCode/builtin-object-size.cpp @@ -61,7 +61,7 @@ namespace Padding { void foo() { LongDouble3Vec v1, v2; #if __SIZEOF_SIZE_T__ == 8 -#if !defined(_WIN32) +#if __SIZEOF_LONG_DOUBLE__ == 16 static_assert(__builtin_object_size(&v1, 0) == 64); #else static_assert(__builtin_object_size(&v1, 0) == 32); _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
