]> granicus.if.org Git - clang/commit
Recursively lifetime-extend into array temporaries. These can get implicitly
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 8 Jun 2013 00:02:08 +0000 (00:02 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 8 Jun 2013 00:02:08 +0000 (00:02 +0000)
commitb6e3808bfe385da8d90bb431e41e30d721d5433f
tree4fab2a73a61e4a38730dd0f685c576a0781fed65
parent61f0868f1920f80814e6d0195a1bc5b0f0bfc1b1
Recursively lifetime-extend into array temporaries. These can get implicitly
created through binding a reference-to-array to an initializer list.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183594 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
test/CodeGenCXX/const-init-cxx11.cpp
test/SemaCXX/constant-expression-cxx11.cpp