PR24989: Stop trying to use the C++11 rules for lambda return type inference in
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 2 Feb 2016 23:58:56 +0000 (23:58 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 2 Feb 2016 23:58:56 +0000 (23:58 +0000)
commit59b982e1be3af0a1c6dc1564a9df8123404359cc
treedb19f9b8dbb6894f72dadd88f218011add7776c9
parent0d473d12fef8c7e1f0843bab2a74583b2f5da1f5
PR24989: Stop trying to use the C++11 rules for lambda return type inference in
C++14 generic lambdas. It conflicts with the C++14 return type deduction
mechanism, and results in us failing to actually deduce the lambda's return
type in some cases.

llvm-svn: 259609
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaLambda.cpp
clang/test/SemaCXX/cxx1y-deduced-return-type.cpp