[cfe-commits] [PATCH] Do not substitute template types if template has dependent context

Peter Collingbourne peter at pcc.me.uk
Fri Dec 3 14:57:32 PST 2010


We should not substitute template types if the template has a dependent
context because the template argument stack is not yet fully formed.
Instead, defer substitution until the template has a non-dependent
context (i.e. instantiation of an outer template).

Patch attached.  OK to commit?

Thanks,
-- 
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-substitute-template-types-if-template-has-dep.patch
Type: text/x-diff
Size: 2566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101203/d69d128d/attachment.patch>


More information about the cfe-commits mailing list