On Wed, Feb 10, 2016 at 9:40 AM, David Majnemer via cfe-commits <cfe-commits@lists.llvm.org> wrote: > Author: majnemer > Date: Wed Feb 10 11:40:47 2016 > New Revision: 260388 > > URL: http://llvm.org/viewvc/llvm-project?rev=260388&view=rev > Log: > [MS ABI] Never reference dllimport'd vtables > > Referencing a dllimported vtable is impossible in a constexpr > constructor. It would be friendlier to C++ programmers if we > synthesized a copy of the vftable which referenced imported virtual > functions. This would let us initialize the object in a way which > preserves both the intent to import functionality from another DLL while > also making constexpr work. > > Differential Revision: http://reviews.llvm.org/D17061
I reverted this in r260449 as it caused PR26569. - Hans _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits