[clang] [Clang][Sema] placement new initializes typedef array with correct size (PR #88902)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 16 08:45:32 PDT 2024
https://github.com/mahtohappy updated https://github.com/llvm/llvm-project/pull/88902
>From 751fd34e843228ac69c317aa9ce4eba34df0d1e6 Mon Sep 17 00:00:00 2001
From: mahtohappy <Happy.Kumar at windriver.com>
Date: Tue, 16 Apr 2024 07:25:34 -0700
Subject: [PATCH 1/2] [Clang][Sema] placement new initializes typedef array
with correct size
Build Failure Fix
---
.../SemaCXX/{instantiate-new-placement-size.cpp => PR41441.cpp} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename clang/test/SemaCXX/{instantiate-new-placement-size.cpp => PR41441.cpp} (95%)
diff --git a/clang/test/SemaCXX/instantiate-new-placement-size.cpp b/clang/test/SemaCXX/PR41441.cpp
similarity index 95%
rename from clang/test/SemaCXX/instantiate-new-placement-size.cpp
rename to clang/test/SemaCXX/PR41441.cpp
index 7a29d3dee8491e..ecc8594dfff67a 100644
--- a/clang/test/SemaCXX/instantiate-new-placement-size.cpp
+++ b/clang/test/SemaCXX/PR41441.cpp
@@ -1,5 +1,5 @@
// RUN: %clang -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s
-// Issue no: 41441
+
#include <new>
// CHECK: call void @llvm.memset.p0.i64(ptr align 1 %x, i8 0, i64 8, i1 false)
>From 517ff20b18e12d4e20eb2111ac600c2dd86b242a Mon Sep 17 00:00:00 2001
From: mahtohappy <Happy.Kumar at windriver.com>
Date: Tue, 16 Apr 2024 08:43:27 -0700
Subject: [PATCH 2/2] build trigger
More information about the cfe-commits
mailing list