[clang] [Clang] Fix crash on template-specialization (PR #142338)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 3 08:48:37 PDT 2025


================
@@ -160,7 +160,7 @@ template<typename T> struct X;
 
 // Make sure that the instantiated constructor initializes start and
 // end properly.
-// CHECK-LABEL: define linkonce_odr void @_ZN1XIiEC2ERKS0_(ptr {{[^,]*}} %this, ptr noundef nonnull align {{[0-9]+}} dereferenceable({{[0-9]+}}) %other) unnamed_addr
+// CHECK-LABEL: define linkonce_odr void @_ZN1XIiEC2ERKS0_(ptr {{[^,]*}} %this, ptr noundef nonnull align {{[0-9]+}} dereferenceable({{[0-9]+}}) %0) unnamed_addr
----------------
shafik wrote:

What name does it change it to? Is this expected?

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


More information about the cfe-commits mailing list