]> granicus.if.org Git - clang/commit
Sema: Static redeclaration after extern declarations is a Microsoft Extension
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 18 Jun 2014 23:26:25 +0000 (23:26 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 18 Jun 2014 23:26:25 +0000 (23:26 +0000)
commit2e01479f1c4f2648a48dce00c007668fa4763d39
tree0afc8d1a68c76dc1fb6952b7c6275f84351e9183
parente15ff8e771874057c02337279f1a43b353797ec0
Sema: Static redeclaration after extern declarations is a Microsoft Extension

CL permits static redeclarations to follow extern declarations.  The
storage specifier on the latter declaration has no effect.

This fixes PR20034.

Differential Revision: http://reviews.llvm.org/D4149

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211238 91177308-0d34-0410-b5e6-96231b3b80d8
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