]> granicus.if.org Git - clang/commit
Sema: Definition of dllimport globals is not allowed
authorNico Rieck <nico.rieck@gmail.com>
Wed, 26 Feb 2014 21:27:13 +0000 (21:27 +0000)
committerNico Rieck <nico.rieck@gmail.com>
Wed, 26 Feb 2014 21:27:13 +0000 (21:27 +0000)
commitb57e967568a258ac00884522fe439fbbbcfb2d20
tree01440ad398b021c5961e24c5a4613f2eef10941f
parenta4396dd137a55186c90b3c620371282e727a5394
Sema: Definition of dllimport globals is not allowed

Upgrades the warning to an error and clarifies the message by treating the
definition as error instead of the attribute.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202300 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
test/Sema/dllexport.c
test/Sema/dllimport.c
test/SemaCXX/dllexport.cpp
test/SemaCXX/dllimport.cpp