This matches MSVC's behaviour, and we already do it for class templates since r270897.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D40621
MS ABI: Treat explicit instantiation definitions of dllimport function templates as explicit instantiation decls (PR35435) ClosedPublic Authored by hans on Nov 29 2017, 1:22 PM.
Details Summary This matches MSVC's behaviour, and we already do it for class templates since r270897.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Nov 29 2017, 1:36 PM Closed by commit rL319386: MS ABI: Treat explicit instantiation definitions of dllimport function… (authored by hans). · Explain WhyNov 29 2017, 3:44 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 124808 lib/Sema/SemaTemplate.cpp
test/CodeGenCXX/dllimport.cpp
|