davidstone added a comment.

The previous commit is https://github.com/llvm/llvm-project/commit/a86bc00, and 
I don't understand enough of what the other code is doing to know if anything 
else needs to be fixed. I'd also like to add in a test to ensure this doesn't 
regress in the future, but I'm not sure of what the best place to put the test 
is. From https://bugs.llvm.org/show_bug.cgi?id=48250

  auto lambda = [](auto) {};
  
  template<typename T>
  void a(T x) { lambda.operator()(x); }
  
  void b() { a(0); }


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
  • [PATCH] D99134: L... David Stone via Phabricator via cfe-commits
    • [PATCH] D991... David Stone via Phabricator via cfe-commits
    • [PATCH] D991... David Stone via Phabricator via cfe-commits
    • [PATCH] D991... Richard Smith - zygoloid via Phabricator via cfe-commits
    • [PATCH] D991... Richard Smith - zygoloid via Phabricator via cfe-commits

Reply via email to