[clang] [Clang][Sema] placement new initializes typedef array with correct size (PR #88902)

2024-04-16 Thread Nico Weber via cfe-commits
@@ -1,5 +1,5 @@ -// RUN: %clang -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s -// Issue no: 41441 +// RUN: %clang --target=x86_64-pc-linux -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s + #include nico wrote: Thanks!

[clang] [Clang][Sema] placement new initializes typedef array with correct size (PR #88902)

2024-04-16 Thread Erich Keane via cfe-commits
@@ -1,5 +1,5 @@ -// RUN: %clang -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s -// Issue no: 41441 +// RUN: %clang --target=x86_64-pc-linux -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s + #include erichkeane wrote: Should be

[clang] [Clang][Sema] placement new initializes typedef array with correct size (PR #88902)

2024-04-16 Thread Erich Keane via cfe-commits
@@ -1,5 +1,5 @@ -// RUN: %clang -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s -// Issue no: 41441 +// RUN: %clang --target=x86_64-pc-linux -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s + #include erichkeane wrote: Blarg, the

[clang] [Clang][Sema] placement new initializes typedef array with correct size (PR #88902)

2024-04-16 Thread via cfe-commits
@@ -1,5 +1,5 @@ -// RUN: %clang -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s -// Issue no: 41441 +// RUN: %clang --target=x86_64-pc-linux -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s + #include dyung wrote: It does:

[clang] [Clang][Sema] placement new initializes typedef array with correct size (PR #88902)

2024-04-16 Thread via cfe-commits
https://github.com/mahtohappy updated https://github.com/llvm/llvm-project/pull/88902 >From 751fd34e843228ac69c317aa9ce4eba34df0d1e6 Mon Sep 17 00:00:00 2001 From: mahtohappy Date: Tue, 16 Apr 2024 07:25:34 -0700 Subject: [PATCH 1/3] [Clang][Sema] placement new initializes typedef array with

[clang] [Clang][Sema] placement new initializes typedef array with correct size (PR #88902)

2024-04-16 Thread via cfe-commits
https://github.com/mahtohappy updated https://github.com/llvm/llvm-project/pull/88902 >From 751fd34e843228ac69c317aa9ce4eba34df0d1e6 Mon Sep 17 00:00:00 2001 From: mahtohappy Date: Tue, 16 Apr 2024 07:25:34 -0700 Subject: [PATCH 1/2] [Clang][Sema] placement new initializes typedef array with

[clang] [Clang][Sema] placement new initializes typedef array with correct size (PR #88902)

2024-04-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (mahtohappy) Changes Build Failure Fix Fixes build failures due to #83124 --- Full diff: https://github.com/llvm/llvm-project/pull/88902.diff 1 Files Affected: - (renamed) clang/test/SemaCXX/PR41441.cpp (+1-1) ``diff

[clang] [Clang][Sema] placement new initializes typedef array with correct size (PR #88902)

2024-04-16 Thread via cfe-commits
https://github.com/mahtohappy created https://github.com/llvm/llvm-project/pull/88902 Build Failure Fix Fixes build failures due to #83124 >From 751fd34e843228ac69c317aa9ce4eba34df0d1e6 Mon Sep 17 00:00:00 2001 From: mahtohappy Date: Tue, 16 Apr 2024 07:25:34 -0700 Subject: [PATCH]