Fix temporary lifetime extension from an initializer using braced "functional"
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 10 Jan 2015 01:28:13 +0000 (01:28 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 10 Jan 2015 01:28:13 +0000 (01:28 +0000)
commitdbc82492248a72fafa40e3ecfd48b28a271d7b99
tree7d0e15b38a288d6ef03bf7355bd67031bf1e9a5b
parent43a0f99b103dc9c2546e650b99f5501e49e74dd2
Fix temporary lifetime extension from an initializer using braced "functional"
cast notation T{...} when T is a reference type.

llvm-svn: 225571
clang/lib/Sema/SemaInit.cpp
clang/test/CodeGenCXX/temporaries.cpp