[PATCH] Bug Fix: Disallow a variable template to be redeclared as a non-templated variable

Larisse Voufo lvoufo at google.com
Tue Aug 13 19:32:06 PDT 2013


On Tue, Aug 13, 2013 at 6:01 PM, Richard Smith <richard at metafoo.co.uk> wrote:
>
>   Did you mean to include the changes to Serialization/ here?

Yes, since the bug fix broke the serialization tests; and I had to fix
them as part of the bug fix.

>
>   The rest of the changes look fine. Have you considered creating the VarTemplateDecl sooner (maybe even immediately after creating the VarDecl) to avoid having to wire through the extra 'bool' parameter?
>

Yes, but I wanted something that just works for sure, at least for a start...
Will take another look...

> http://llvm-reviews.chandlerc.com/D1389



More information about the cfe-commits mailing list