]> granicus.if.org Git - clang/commit
Inherit dll attributes to static locals
authorHans Wennborg <hans@hanshq.net>
Wed, 18 Jun 2014 15:55:13 +0000 (15:55 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 18 Jun 2014 15:55:13 +0000 (15:55 +0000)
commit34b52c0933c500bc569b11544be1d294bf9dda3e
treec60775026240601450bec8b739ed3d217c5c05cb
parentaaa3cb996d19f31672aa81148a15638ef202c3ed
Inherit dll attributes to static locals

This makes us handle static locals in exported/imported functions correctly.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211173 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/SemaInternal.h
lib/CodeGen/CGDecl.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
test/CodeGenCXX/dllexport.cpp
test/CodeGenCXX/dllimport.cpp