On Wed, Nov 14, 2012 at 2:32 AM, Evgeny Eltsin <[email protected]> wrote: > Hi, > > This patch adds mangling of expression template arguments of pointer and > reference types. > > I had to add a separate test for the case when template argument of pointer > type is instantiated with 0/NULL/nullptr, as Clang only accepts that in > C++11 mode (otherwise, it complains that 'non-type template argument does > not refer to any declaration' - not sure if it is a bug or not, but > implementation looks like that is intentional).
The driver passes -std=c++11 in microsoft mode, so this shouldn't be an issue in practice. Having a separate test that passes -std=c++11 to cc1 manually sounds like the right way to test this. John will have to review the patch itself. > > wbr, > Evgeny > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
