-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerconfirmedVerified by a second partyVerified by a second party
Description
Bugzilla Link | 51319 |
Version | 12.0 |
OS | Windows NT |
Reporter | LLVM Bugzilla Contributor |
CC | @DougGregor,@zygoloid |
Extended Description
Sample code (t0.c):
static int arr[ ];
int main( void )
{
return arr[ 0 ];
}
static int arr[ ] = { 0 };
Invocation: clang t0.c -std=c11 -Wall -Wextra -pedantic
Expected diagnostics: t0.c:1:12: error: array size missing in ‘arr’
Actual diagnostics:
Tool version: 12.0.0
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerconfirmedVerified by a second partyVerified by a second party