Skip to content
  • Douglas Gregor's avatar
    Implement proper linkage for explicit instantiation declarations of · b7e5c847
    Douglas Gregor authored
    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
    b7e5c847
Loading