[cfe-dev] 'Skip' argument to Sema::GetTypeForDeclarator

Chris Lattner clattner at apple.com
Sun Oct 25 11:14:48 PDT 2009


Hi Sebastian,

I see you added the Skip argument to Sema::GetTypeForDeclarator, and  
that it is only used when processing new[] expressions.  Can you  
please eliminate this by making ActOnCXXNew remove the DeclaratorChunk  
from the Declarator if appropriate?  I'd prefer to keep  
GetTypeForDeclarator as simple as possible, and this approach would  
isolate the complexity in the one place that needs it.

Thanks,

-Chris



More information about the cfe-dev mailing list