[PATCH] D111542: [analyzer] Retrieve incomplete array extent from its redeclaration.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 11 09:35:37 PDT 2021
balazske added inline comments.
================
Comment at: clang/test/Analysis/initialization.c:102
+const int glob_arr3[]; // Incomplete array declaration
+const int glob_arr3[4] = {1, 2, 3}; // Incomplete Array redeclaration
+void foo() {
----------------
It is possible to add a line `const int glob_arr3[];` again and then it may not work?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111542/new/
https://reviews.llvm.org/D111542
More information about the cfe-commits
mailing list