diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-09-08 21:40:08 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-09-08 21:40:08 +0000 |
commit | 8ec5173f9a7d2ce38162bcf2acc5ea1ccb7c9295 (patch) | |
tree | 1a10f9d65bbda53f0ba94041cbd5faf72d4cf8f8 /llvm/lib | |
parent | db45278cbdd46c841aab8d15e98ddd426ddcf5d8 (diff) | |
download | bcm5719-llvm-8ec5173f9a7d2ce38162bcf2acc5ea1ccb7c9295.tar.gz bcm5719-llvm-8ec5173f9a7d2ce38162bcf2acc5ea1ccb7c9295.zip |
Use the new-initialization code for initializing scalars with a
function-style cast. Previously, we had a (redundant, incorrect)
semantic-checking path for non-class types, which allowed
value-initialization of a reference type and then crashed.
llvm-svn: 113415
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions