]> granicus.if.org Git - clang/commit
Don't route explicit construction via list-initialization through the functional...
authorSebastian Redl <sebastian.redl@getdesigned.at>
Mon, 13 Feb 2012 19:55:43 +0000 (19:55 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Mon, 13 Feb 2012 19:55:43 +0000 (19:55 +0000)
commit20ff0e2d74c188cb3fd4ec3dead41a80a37c0202
tree0b4f048f4df823535d2322279fa90017a0788f36
parent43a1b00153a60e3bab1ff66e4674b1bc13d23817
Don't route explicit construction via list-initialization through the functional cast code path. It sometimes does the wrong thing, produces horrible error messages, and is just unnecessary.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150408 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCast.cpp
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/cxx0x-initializer-aggregates.cpp
test/SemaCXX/cxx0x-initializer-constructor.cpp