[cfe-commits] r101029 - in /cfe/trunk: lib/Sema/Sema.h lib/Sema/SemaDecl.cpp lib/Sema/SemaTemplateInstantiate.cpp lib/Sema/SemaTemplateInstantiateDecl.cpp test/SemaTemplate/default-expr-arguments-2.cpp test/SemaTemplate/instantiate-method.cpp

John McCall rjmccall at apple.com
Mon Apr 12 01:02:03 PDT 2010

On Apr 12, 2010, at 12:48 AM, Douglas Gregor wrote:

> Author: dgregor
> Date: Mon Apr 12 02:48:19 2010
> New Revision: 101029
> URL: http://llvm.org/viewvc/llvm-project?rev=101029&view=rev
> Log:
> Be sure to instantiate the parameters of a function, even when the
> function's type is (strictly speaking) non-dependent. This ensures
> that, e.g., default function arguments get instantiated properly.

...I just fixed this a few days ago for normal functions.  I guess constructor signature instantiation takes a different path?

Anyhow, this is good. :)


More information about the cfe-commits mailing list