[PATCH] D61118: [MinGW] Fix dllexport of explicit template instantiation

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 25 12:55:11 PDT 2019


mstorsjo updated this revision to Diff 196704.
mstorsjo edited the summary of this revision.
mstorsjo added a comment.

Adjusted the patch to not warn if there is no previous declaration of the instantiation, allowing the dllexport attribute on the definition in that case.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61118/new/

https://reviews.llvm.org/D61118

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaDeclCXX.cpp
  lib/Sema/SemaTemplate.cpp
  test/CodeGenCXX/mingw-template-dllexport.cpp
  test/SemaCXX/dllexport.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61118.196704.patch
Type: text/x-patch
Size: 8301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190425/bc10d1a9/attachment-0001.bin>


More information about the cfe-commits mailing list