[PATCH] D19479: 26748 - clang-cl fails to compile atlctrlw.h header from WTL

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Fri May 20 15:41:48 PDT 2016


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





More information about the cfe-commits mailing list