[clang] [clang] Fix assertion failures involving code completion with delayed default arguments and exception specifications (PR #203794)

Harlen Batagelo via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 15 11:55:35 PDT 2026


================
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:6:2 %s
+// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:2 %s
+
+struct A {
+  A(int = 0);
+}/*invoke completion here*/;
+
+struct B {
+  B() noexcept(false);
+}/*invoke completion here*/;
----------------
hbatagelo wrote:

Done

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


More information about the cfe-commits mailing list