CL permits static redeclarations to follow extern declarations. The
storage specifier on the latter declaration has no effect.
This fixes PR20034.
Paths
| Differential D4149
Sema: Static redeclaration after extern declarations is a Microsoft Extension ClosedPublic Authored by majnemer on Jun 15 2014, 12:42 PM.
Details Summary CL permits static redeclarations to follow extern declarations. The This fixes PR20034.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jun 17 2014, 10:37 AM
Revision Contents
Diff 10428 include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/Misc/warning-flags.c
test/Sema/private-extern.c
test/Sema/tentative-decls.c
test/Sema/thread-specifier.c
test/Sema/var-redecl.c
test/SemaCXX/MicrosoftExtensions.cpp
|
Good catch on improving these diagnostics!