hans added a comment.

In http://reviews.llvm.org/D20608#438760, @majnemer wrote:

> Does this change our behavior for mingw?


No, this only affects the MS ABI.

MinGW doesn't seem to do this trick. For example, in this code, they will emit 
a definition for S<int>::Inner::f:

  template <typename T> struct S {
    struct Inner {
      void f() {}
    };
  };
  template struct __declspec(dllimport) S<int>;


http://reviews.llvm.org/D20608



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to