[PATCH] Fix PR20619 - failure to define implicit copy ctor of a by val capture in a generic lambda
Richard Smith
richard at metafoo.co.uk
Fri Nov 7 11:46:27 PST 2014
We shouldn't mark the operation as used if the generic lambda itself appears in a dependent context. I would strongly prefer that we set the `CurContext` to the context surrounding the generic lambda before processing an implicit capture to handle that case.
http://reviews.llvm.org/D6171
More information about the cfe-commits
mailing list