[LLVMbugs] [Bug 15119] return type of lambda expression with and without const does not work

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 1 13:37:19 PST 2013


Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2013-02-01 15:37:19 CST ---
Clang is correcting according to the current proposed resolution of core issue
975 (which allows non-trivial return type deduction in lambdas):


In particular, none of the lvalue-to-rvalue, function-to-pointer, or
array-to-pointer conversions apply here. GCC should not be stripping off the

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list