commit | 19311e70edaa2d7bb0d709344aebea4fbbae2da4 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Sep 08 21:40:08 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Sep 08 21:40:08 2010 +0000 |
tree | e0698436bd41b66e14c88789f6f809ab1c8700bf | |
parent | 56a965c0f77c9e6bffd65cc8f8796442a8527381 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113415 91177308-0d34-0410-b5e6-96231b3b80d8