[clang] Sema: detect adjusted function prototypes to fix crash with __typeof + __asm + noreturn (#173598) (PR #174092)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 2 19:18:54 PST 2026


================
@@ -506,6 +508,8 @@ Improvements to Coverage Mapping
 
 Bug Fixes in This Version
 -------------------------
+- Avoid crash when declaring functions with ``__typeof``, ``__asm__`` alias and ``__attribute__((noreturn))`` in C2X mode. (PR #174092)
+
----------------
Sirraide wrote:

Also, use the issue number that this fixes, not the PR number, and use the correct formatting (see the other diagnostics below)

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


More information about the cfe-commits mailing list