]> granicus.if.org Git - clang/commit
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)
commit14d937afc2ad8f65dccbafeb62271e80dbd46a78
treea8f70ead6a033abc64ce81c036a8ef4c33d36c3b
parentec0808decc682f76e411eed7206a82a34b87dd7d
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187275 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmt.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p4.cpp
test/SemaCXX/lambda-expressions.cpp