Handle a difference in lambda return type deduction between C++11 and C++1y: if
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 26 Jul 2013 23:45:07 +0000 (23:45 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 26 Jul 2013 23:45:07 +0000 (23:45 +0000)
commit1836e600234bc53bf0db60cbedc750ed635fd62d
tree08ce88c84901fe8f33e88a57767122103a97b632
parent3cf7eb50a9b9096f8a26ab2e232f1dd62b221a87
Handle a difference in lambda return type deduction between C++11 and C++1y: if
no return type is specified, C++11 will deduce a cv-qualified return type in
some cases, but C++1y never will.

llvm-svn: 187275
clang/lib/Sema/SemaStmt.cpp
clang/test/CXX/expr/expr.prim/expr.prim.lambda/p4.cpp
clang/test/SemaCXX/lambda-expressions.cpp