[PATCH] D26657: [Sema] Respect DLL attributes more faithfully

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 15 17:01:03 PST 2016


hans added a comment.

> On MSVC, if an implicit instantiation already exists and an explicit
>  instantiation definition with a DLL attribute is created, the DLL
>  attribute still takes effect. Make clang match this behavior.

This is scary territory, and behaviour I think might be hard for us to match.

What if we already codegenned the implicit instantiation?


https://reviews.llvm.org/D26657





More information about the cfe-commits mailing list