[llvm-bugs] [Bug 24989] Regression: Lambda with no return behaves differently from lambda with empty return
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Feb 2 15:59:06 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=24989
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Reduced to:
auto x = [](auto){};
void (decltype(x)::*p)(int) const = &decltype(x)::operator();
Some of our C++11 lambda return type inference machinery was accidentally being
used in C++14 mode (where we intend to just use normal 'auto' return type
deduction).
Fixed in r259609.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160202/fcb90cd7/attachment-0001.html>
More information about the llvm-bugs
mailing list