diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-02-12 01:55:09 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-02-12 01:55:09 +0000 |
commit | 3c567fce463690d717ca4448c5769524b5a904d8 (patch) | |
tree | 8e2cfc4f80a45f20194fa849cabfa9c72e0c0037 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | 420fa12dfddc33b0d0b54666340bfa630b61b5bc (diff) | |
download | llvm-3c567fce463690d717ca4448c5769524b5a904d8.zip llvm-3c567fce463690d717ca4448c5769524b5a904d8.tar.gz llvm-3c567fce463690d717ca4448c5769524b5a904d8.tar.bz2 |
More for DR1467: In C++, when initializing an element of an aggregate,
always use the normal copy-initialization rules. Remove a special case that
tries to stay within the list initialization checker here; that makes us do the
wrong thing when list-initialization of an aggregate would not perform
aggregate initialization.
llvm-svn: 228897
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions