nice! On Oct 31, 2009, at 11:10 AM, Douglas Gregor wrote:
> > On Oct 31, 2009, at 10:56 AM, Chris Lattner wrote: > >> >> On Oct 31, 2009, at 10:21 AM, Douglas Gregor wrote: >> >>> Author: dgregor >>> Date: Sat Oct 31 12:21:17 2009 >>> New Revision: 85669 >>> >>> URL: http://llvm.org/viewvc/llvm-project?rev=85669&view=rev >>> Log: >>> Implement "incremental" template instantiation for non-type template >>> parameters and template type parameters, which occurs when >>> substituting into the declarations of member templates inside class >>> templates. This eliminates errors about our inability to "reduce >>> non-type template parameter depth", fixing PR5311. >>> >>> Also fixes a bug when instantiating a template type parameter >>> declaration in a member template, where we weren't properly reducing >>> the template parameter's depth. >>> >>> LLVM's StringSwitch header now parses. >> >> Nice, out of curiosity, does the simple example that uses it codegen? > > > Yup, and it runs like a champ. Test program attached; make sure to > link with -lstdc++. > > - Doug > > <ss.cpp> _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
