[cfe-commits] [PATCH] C++11 nullptr-convert standalone tool
Richard Smith
richard at metafoo.co.uk
Thu Nov 29 12:16:40 PST 2012
On Thu, Nov 29, 2012 at 5:40 AM, Edwin Vane <edwin.vane at intel.com> wrote:
>
> Instantiating the template doesn't help. In fact my test case is already instantiating the template with Bar<int> which I presume is why I see two entries in the AST for Bar, one with T=int and one general definition.
Your test case is probably not triggering the instantiation of the
default argument (default arguments are instantiated on demand, not
with the class).
More information about the cfe-commits
mailing list