diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-10-27 23:26:40 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-10-27 23:26:40 +0000 |
commit | 7d9c3c92c90ae36d58ec21bc53c4c08e02ac3555 (patch) | |
tree | 66200812f0e8c8a2deabc239201de742f8e3e944 /lib/CodeGen/CGVtable.cpp | |
parent | db07b3f7cdcb505329c1280d7cf70791739a7cad (diff) |
Implement proper linkage for explicit instantiation declarations of
inlined functions. For example, given
template<typename T>
class string {
unsigned Len;
public:
unsigned size() const { return Len; }
};
extern template class string<char>;
we now give the instantiation of string<char>::size
available_externally linkage (if it is ever instantiated!), as
permitted by the C++0x standard.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
0 files changed, 0 insertions, 0 deletions