We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721358d commit 46e5a3dCopy full SHA for 46e5a3d
clang/test/3C/macro_itype.c
@@ -11,6 +11,11 @@
11
struct s { macro0 };
12
//CHECK: struct s { macro0 };
13
14
+// Example from issue correctcomputation/checkedc-clang#594.
15
+#define PARAM_DECL_WITH_ITYPE int *p : itype(_Ptr<int>)
16
+void foo(PARAM_DECL_WITH_ITYPE);
17
+//CHECK: void foo(PARAM_DECL_WITH_ITYPE);
18
+
19
// Just removing the assertion that failed on the above example caused this to
20
// rewrite incorrectly. The ItypeStr would be left empty, so first parameter
21
// would be rewritten to `int *b` even though the rewriter intended to give it
0 commit comments