]> granicus.if.org Git - clang/commit
When list-initializing a vector, try to copy-initialize from vectors instead
authorJohn McCall <rjmccall@apple.com>
Sat, 30 Oct 2010 00:11:39 +0000 (00:11 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 30 Oct 2010 00:11:39 +0000 (00:11 +0000)
commit20e047abc5f19dc948436c0fb891450d9cd40667
tree851b728936e476102f9b3ae7eeb6e32e9fc0c64b
parent978e3a274aae203a6c2b74094be791ac9e2662e5
When list-initializing a vector, try to copy-initialize from vectors instead
of descending into the subelements.

rdar://problem/8345836

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117749 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
test/Sema/vector-init.c