]> granicus.if.org Git - clang/commit
Implement most of N3638 (return type deduction for normal functions).
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 4 May 2013 07:00:32 +0000 (07:00 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 4 May 2013 07:00:32 +0000 (07:00 +0000)
commit60e141e1f87211ca831de6821003d80fe20a06f3
tree1d3062ca5c7b78cecae06c05ea1f90973d95d059
parent82f145d4ed86d19cb2a1680cda53fdc39bb38eb6
Implement most of N3638 (return type deduction for normal functions).
Missing (somewhat ironically) is support for the new deduction rules
in lambda functions, plus PCH support for return type patching.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181108 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/clang/AST/ASTContext.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
include/clang/Sema/TemplateDeduction.h
lib/AST/ASTContext.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/SemaTemplateDeduction.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Sema/SemaType.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3-1y.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p6-1y.cpp
test/SemaCXX/cxx1y-deduced-return-type.cpp [new file with mode: 0644]
www/cxx_status.html