]> granicus.if.org Git - clang/commit
Don't try emitting dllexported explicitly defaulted non-trivial ctors twice during...
authorHans Wennborg <hans@hanshq.net>
Fri, 2 Aug 2019 07:51:41 +0000 (07:51 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 2 Aug 2019 07:51:41 +0000 (07:51 +0000)
commit0743ec24e3b1a47b0642a280e3499e8b741199ab
treea85127b73d5c18bc1ed7932a2d36dc79e79d822f
parente0c6a2938f9af33dadfe2edd73b705af631101f2
Don't try emitting dllexported explicitly defaulted non-trivial ctors twice during explicit template instantiation definition (PR42857)

Trying to emit the definition twice triggers an assert.

Differential revision: https://reviews.llvm.org/D65579

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367661 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CodeGenCXX/dllexport.cpp