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 | b7e5c847c4331866c10562e596b747e65e3647bf (patch) | |
| tree | 29c2ca7dd42dc30f71a93a504819e705e4f03e24 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 1bafa6de57c5bea8b9b0d536cbda4ac96900a9d0 (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.
llvm-svn: 85340
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
