[cfe-commits] r95192 - in /cfe/trunk/lib: CodeGen/CGExprCXX.cpp Sema/TreeTransform.h

Douglas Gregor dgregor at apple.com
Wed Feb 3 00:49:14 PST 2010


On Feb 2, 2010, at 7:01 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Tue Feb  2 21:01:57 2010
> New Revision: 95192
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=95192&view=rev
> Log:
> Provide a real fix for PR6199, reverting the old workaround. Here, we
> realize that CXXConstructExpr is always implicit, so we should just
> return its argument (if there is only one) rather than directly
> invoking the constructor.

This broke TableGen builds. I'm looking into it, but I'm convinced that we have to find a better way to deal with template instantiation of non-type-dependent expressions. Deconstructing the fully type-checked ASTs is fairly tricky work.

	- Doug



More information about the cfe-commits mailing list