I'm not sure how to test this without generic lambdas that capture. So unless you have a suggestion, perhaps I'll try and commit this around the same time when the capture-patch becomes commit-ready. http://llvm-reviews.chandlerc.com/D2029