[PATCH] Tune capturing of init-captures in non-generic lambdas
Faisal Vali
faisalv at yahoo.com
Tue Nov 19 22:58:04 PST 2013
*ping*
clang claims to have (draft) C++14 support - but currently somewhat embarrassingly ICE's if init-captures are used within nested lambdas.
int i = 4;
auto L = [&j = i](auto a) {
return [k = j]() { return k; };
};
L(8)(); <-- ICE!
This patch places fixes that bug and places the conformance claim on even firmer footing - so, feedback would be appreciated :)
http://llvm-reviews.chandlerc.com/D2092
More information about the cfe-commits
mailing list