diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-02-22 17:22:08 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-02-22 17:22:08 +0000 |
commit | 46e39cc6b0af95ffdc2ff21c9387c1939c82cd7c (patch) | |
tree | 1c438412400bf76c35fd50f1090dbcadac8df3f6 /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | 2ae61ee0d258cde2d001e5f1d23157e82ae7cb3b (diff) | |
download | llvm-46e39cc6b0af95ffdc2ff21c9387c1939c82cd7c.zip llvm-46e39cc6b0af95ffdc2ff21c9387c1939c82cd7c.tar.gz llvm-46e39cc6b0af95ffdc2ff21c9387c1939c82cd7c.tar.bz2 |
[MS ABI] Correctly handle dllimport'd explicit instantiation declaration w/ vbases
We gave a VBTable dllimport storage class and external linkage while
also providing an initializer. An initializer is only valid if the
VBTable has available_externally linkage. Fix this by setting the
linkage to available_externally in situ while generating the
initializer.
This fixes PR26686.
llvm-svn: 261535
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions