[clang] [Clang] Fix crash on `void{}` (PR #147514)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 8 06:04:51 PDT 2025


================
@@ -5,3 +5,12 @@ void f()
   // CHECK: store i32 0
   int i{};
 }
+
+
+namespace GH116440 {
+void f() {
+  void{};
+  void();
+}
----------------
cor3ntin wrote:

What do you want me to check? noting is emitted 

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


More information about the cfe-commits mailing list