]> granicus.if.org Git - clang/commit
Tweaks to C++0x deduced auto type support:
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 21 Feb 2011 20:05:19 +0000 (20:05 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 21 Feb 2011 20:05:19 +0000 (20:05 +0000)
commit483b9f3bc05c5409e2c6643f1c9d91e21c8ff9d2
tree98392cc5b1045b5eab9c827e4e1ba7cc48e2cc9a
parent57cbb0de091a05a6510f0a7278ee8da57a4d27fc
Tweaks to C++0x deduced auto type support:
 * Flag indicating 'we're parsing this auto typed variable's initializer' moved from VarDecl to Sema
 * Temporary template parameter list for auto deduction is now allocated on the stack.
 * Deduced 'auto' types are now uniqued.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126139 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/AST/ASTContext.h
include/clang/AST/Decl.h
include/clang/AST/DeclTemplate.h
include/clang/Sema/Sema.h
lib/AST/ASTContext.cpp
lib/Parse/ParseDecl.cpp
lib/Parse/ParseExprCXX.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3.cpp