Setting dllexport on a declaration has no effect, as we do not emit export
directives for declarations.
Part of the fix for PR32334.
| Paths 
 |  Differential  D31162  
IRGen: Do not set dllexport on declarations. ClosedPublic Authored by pcc on Mar 20 2017, 6:05 PM. 
Details Summary Setting dllexport on a declaration has no effect, as we do not emit export Part of the fix for PR32334. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Mar 20 2017, 6:24 PM Closed by commit rL298330: IRGen: Do not set dllexport on declarations. (authored by pcc).  ·  Explain WhyMar 20 2017, 7:14 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 92416 cfe/trunk/lib/CodeGen/CodeGenModule.cpp
 cfe/trunk/test/CodeGenCXX/dllexport.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||