[PATCH] Implement transformations of non-capturing nested lambdas.
Doug Gregor
dgregor at apple.com
Mon Sep 30 22:14:18 PDT 2013
================
Comment at: lib/Sema/SemaTemplateInstantiateDecl.cpp:4196
@@ +4195,3 @@
+ if (isa<ParmVarDecl>(D) && !ParentDC->isDependentContext() &&
+ !cast<ParmVarDecl>(D)->getType()->isDependentType())
+ return D;
----------------
Faisal Vali wrote:
> should this be isInstantiationDependentType() ?
Yes, isInstantiationDependentType() sounds correct here.
http://llvm-reviews.chandlerc.com/D1784
More information about the cfe-commits
mailing list