rnk added a comment.

In http://reviews.llvm.org/D19479#435620, @rnk wrote:

> To deal with the specific case in ATL, we can use the 'new' expression as a 
> hint that the unknown identifier is actually a dependent type. There should 
> be some bit of context we can look at in DiagnoseUnknownTypeName to know that 
> we are in a new expression inside a dependent template, and then form a 
> DependentNameType to delay checking until template instantiation.


I went ahead and put together a patch for this in 
http://reviews.llvm.org/D20500, that might supersede this patch.


http://reviews.llvm.org/D19479



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to