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 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
