[llvm-bugs] [Bug 48161] New: clang-cl fails to dllexport explicit specialization of member function
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Nov 12 04:46:17 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48161
Bug ID: 48161
Summary: clang-cl fails to dllexport explicit specialization of
member function
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: hans at chromium.org
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
Blocks: 13707
Consider:
template <typename T> struct S {
void __declspec(dllexport) f() {}
};
template <> void S<int>::f() {};
MSVC exports S<int>::f(), but clang-cl doesn't.
(If the dllexport attribute is on the class, clang-cl handles it; Bug 34849.
However in this case, the attribute is never propagated from the template to
the specialization.)
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=13707
[Bug 13707] [meta] VCPP compatibility issues
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201112/ca7c5c6d/attachment.html>
More information about the llvm-bugs
mailing list