aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-12-19 01:39:02 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-12-19 01:39:02 +0000
commitc83c2300e1946fea78ecd3c2e93d9c2dd2638a2b (patch)
tree5f7c649d837df75ff3bcfaf0b76501c610f55ce1 /lib/Sema/SemaChecking.cpp
parent9fcc2ab2ec5e00802880e205568ff3afbd70a773 (diff)
PR13470: Ensure that copy-list-initialization isntantiates as
copy-list-initialization (and doesn't add an additional copy step): Fill in the ListInitialization bit when creating a CXXConstructExpr. Use it when instantiating initializers in order to correctly handle instantiation of copy-list-initialization. Teach TreeTransform that function arguments are initializations, and so need this special treatment too. Finally, remove some hacks which were working around SubstInitializer's shortcomings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions