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 | 19311e70edaa2d7bb0d709344aebea4fbbae2da4 (patch) | |
tree | e0698436bd41b66e14c88789f6f809ab1c8700bf /lib/Sema/SemaCodeComplete.cpp | |
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
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions