[cfe-commits] patch: don't lose previous-declaration when instantiating class template

Nick Lewycky nlewycky at google.com
Sun Nov 7 20:56:41 PST 2010


PR8001 is a bug where given a class template declaration to instantiate with
getPreviousDeclaration() set, the template instantiation doesn't produce a
redeclaration. The patch fixes my testcase, please review!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101107/98bfddaf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr8001-2.patch
Type: text/x-patch
Size: 1859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101107/98bfddaf/attachment.bin>

More information about the cfe-commits mailing list