MS ABI: Don't try to emit VF/VB-Tables for extern class templates
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 18 Mar 2015 22:04:43 +0000 (22:04 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 18 Mar 2015 22:04:43 +0000 (22:04 +0000)
commita03849b2e722b9d25eb67a2beb8110c5b2303440
tree6e5d52ec57a483bebdffd82b6b3b0324aede69eb
parent2d56abacd1437338fb39226366edd3ecbce9058c
MS ABI: Don't try to emit VF/VB-Tables for extern class templates

There will be an explicit template instantiation in another translation
unit which will provide the definition of the VF/VB-Tables.

This fixes PR22932.

llvm-svn: 232680
clang/lib/AST/VTableBuilder.cpp
clang/lib/CodeGen/CGVTables.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/MicrosoftCXXABI.cpp
clang/test/CodeGenCXX/microsoft-abi-vbtables.cpp
clang/test/CodeGenCXX/microsoft-abi-vftables.cpp