summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-06-03 08:26:00 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-06-03 08:26:00 +0000
commit80fe8a6c2142df4718e2482a0562ee6142de1685 (patch)
tree9d6edb9d38af9d9163661f2a5b51c78392a678d2 /lib/CodeGen/CGExprAgg.cpp
parentea7885793bc604f566db6d1d99c845bfec6b8119 (diff)
downloadclang-80fe8a6c2142df4718e2482a0562ee6142de1685.tar.gz
clang-80fe8a6c2142df4718e2482a0562ee6142de1685.tar.bz2
clang-80fe8a6c2142df4718e2482a0562ee6142de1685.tar.xz
Implement DR990 and DR1070. Aggregate initialization initializes uninitialized
elements from {}, rather than value-initializing them. This permits calling an initializer-list constructor or constructing a std::initializer_list object. (It would also permit initializing a const reference or rvalue reference if that weren't explicitly prohibited by other rules.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions