erichkeane added inline comments.

================
Comment at: clang/test/CodeGenCXX/lambda-conversion-op-cc.cpp:10
 void usage() {
   auto lambda = [](int i, float f, double d) CC { return i + f + d; };
 
----------------
rsmith wrote:
> Does lambda-to-function-pointer decay still work (eg, `+lambda` or 
> `*lambda`)? It'd be good to test that, since it's a fairly common idiom.
It does! I tested that in the last patch, but don't seem to have a codegen test 
for it, so I'll make sure to add it.

I ended up having to do a tiebreaker as you suggested in that patch as well.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90634/new/

https://reviews.llvm.org/D90634

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to