rsmith accepted this revision. rsmith added a comment. LGTM.
Please also add something like this as a unit test: In D99134#2643441 <https://reviews.llvm.org/D99134#2643441>, @rsmith wrote: > template<typename T> int x = [](auto){ return T(); }.operator()(T()); > int y = x<int>; Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D99134/new/ https://reviews.llvm.org/D99134 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits