[PATCH] D128449: [clang] Introduce -Warray-parameter
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 27 13:37:40 PDT 2022
shafik added inline comments.
================
Comment at: clang/test/Sema/array-parameter.c:17
+
+void f5(int a[restrict 2]);
+void f5(int a[2]); // no warning
----------------
Since we are covering `static`, `const` and `restict` we should also cover `volatile` for completeness.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128449/new/
https://reviews.llvm.org/D128449
More information about the cfe-commits
mailing list