]> granicus.if.org Git - clang/commit
Don't dynamically initialize dllimport vars (PR19933)
authorHans Wennborg <hans@hanshq.net>
Wed, 4 Jun 2014 21:09:46 +0000 (21:09 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 4 Jun 2014 21:09:46 +0000 (21:09 +0000)
commit7546b5a26229417222909d8c4c6e12d50c27e985
treed0754231f862cd6429248a84a6a71980abea4e1d
parente88163d87fc058590b6f0af25a2b5f2057723945
Don't dynamically initialize dllimport vars (PR19933)

They should be initialized when they're exported.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210217 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CodeGenCXX/dllimport.cpp