[clang] [clang] Fix crash when @param is attached to invalid nodes (PR #183274)

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 00:09:54 PST 2026


================
@@ -0,0 +1,21 @@
+// RUN: %clang_cc1 -fsyntax-only -Wdocumentation -ast-dump -verify %s
+
+#include <stdint.h>
+#include <stdbool.h>
----------------
TPPPP72 wrote:

> I think what @zyn0217 means is that you should be able to use int instead of bool and unsigned char in this test case and achieve the same test outcome

Indeed, I previously used bool and uint8_t based on the code from the original issue.

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


More information about the cfe-commits mailing list