This seems to match the MS behaviour.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
We should probably do something about lambdas, they can't be imported or exported but this can be done in a follow up patch.
Paths
| Differential D12422
Allow TLS vars in dllimport/export functions; only inline dllimport functions when safe (PR24593) ClosedPublic Authored by hans on Aug 27 2015, 6:31 PM.
Details Summary This seems to match the MS behaviour.
Diff Detail Event Timelinemajnemer edited edge metadata. Comment ActionsLGTM We should probably do something about lambdas, they can't be imported or exported but this can be done in a follow up patch. This revision is now accepted and ready to land.Aug 28 2015, 2:33 PM Closed by commit rL246338: Allow TLS vars in dllimport/export functions; only inline dllimport functions… (authored by hans). · Explain WhyAug 28 2015, 2:48 PM This revision was automatically updated to reflect the committed changes. Comment Actions
Follow-up in r247718.
Revision Contents
Diff 33388 lib/CodeGen/CodeGenModule.cpp
lib/Sema/SemaDecl.cpp
test/CodeGenCXX/dllimport.cpp
test/SemaCXX/dllexport.cpp
test/SemaCXX/dllimport.cpp
|