bernhardmgruber marked 4 inline comments as done.
bernhardmgruber added inline comments.


================
Comment at: test/clang-tidy/modernize-use-trailing-return.cpp:173
+auto l1 = [](int arg) {};
+auto l2 = [](int arg) -> double {};
----------------
JonasToth wrote:
> you could figure out the return type of the lambda if it contains a return, 
> otherwise it should be `void`.
I am sorry, but I do not understand what you want. Lambdas have trailing return 
types by default (if it is not left out and deduced). Do you want to 
explicitely generate the deduced return type? This is not what I intended. I 
want to rewrite old return types on the left to be trailing.


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

https://reviews.llvm.org/D56160



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

Reply via email to