Skip to content

Commit f2b015e

Browse files
hnrklssngithub-actions[bot]
authored andcommitted
Automerge: [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
2 parents 71a4697 + d4676e6 commit f2b015e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clang/test/AST/ByteCode/builtin-object-size.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace Padding {
6161
void foo() {
6262
LongDouble3Vec v1, v2;
6363
#if __SIZEOF_SIZE_T__ == 8
64-
#if !defined(_WIN32)
64+
#if __SIZEOF_LONG_DOUBLE__ == 16
6565
static_assert(__builtin_object_size(&v1, 0) == 64);
6666
#else
6767
static_assert(__builtin_object_size(&v1, 0) == 32);

0 commit comments

Comments
 (0)