[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 07:33:19 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: None (mahtohappy)

<details>
<summary>Changes</summary>

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
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)

``````````

</details>


https://github.com/llvm/llvm-project/pull/88902


More information about the cfe-commits mailing list