]> granicus.if.org Git - clang/commit
IRGen: Do not set dllexport on declarations.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 21 Mar 2017 02:02:41 +0000 (02:02 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 21 Mar 2017 02:02:41 +0000 (02:02 +0000)
commit5f5f6d1226b8977ca12b009bb82ed983653d4ac3
treea4a9c3158d4fdffa577ebecbba0b066303031fda
parent88f61e1dc54d5fe10af0fbe0e05c261a8a474930
IRGen: Do not set dllexport on declarations.

Setting dllexport on a declaration has no effect, as we do not emit export
directives for declarations.

Part of the fix for PR32334.

Differential Revision: https://reviews.llvm.org/D31162

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298330 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/dllexport.cpp