diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-19 01:39:02 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-19 01:39:02 +0000 |
commit | d59b8323203503ddef5f85ace351ab72d5f88398 (patch) | |
tree | 3557c33b10ba6c6030a8288f083b053ccaae1b10 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 3a081a033926da9cdd68ccb8705ad882704f68b5 (diff) | |
download | llvm-d59b8323203503ddef5f85ace351ab72d5f88398.zip llvm-d59b8323203503ddef5f85ace351ab72d5f88398.tar.gz llvm-d59b8323203503ddef5f85ace351ab72d5f88398.tar.bz2 |
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.
llvm-svn: 170489
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions