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 TimelineComment Actions lgtm
This revision is now accepted and ready to land.Jun 17 2014, 10:37 AM
Revision Contents
Diff 10594 cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/lib/Sema/SemaDecl.cpp
cfe/trunk/test/Misc/warning-flags.c
cfe/trunk/test/Sema/private-extern.c
cfe/trunk/test/Sema/tentative-decls.c
cfe/trunk/test/Sema/thread-specifier.c
cfe/trunk/test/Sema/var-redecl.c
cfe/trunk/test/SemaCXX/MicrosoftExtensions.cpp
|