]> granicus.if.org Git - clang/commit
PR22367: Don't forget to create a CXXFunctionalCastExpr around
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 28 Jan 2015 22:06:01 +0000 (22:06 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 28 Jan 2015 22:06:01 +0000 (22:06 +0000)
commitbb3482305e3073dddcacf19dd164df4eb9fb7586
treef8b0f3b7d82e60185b248af207dc910ab0a122ef
parent4e86f7922a75ad563db7aef7baa5ef4f3583b2c1
PR22367: Don't forget to create a CXXFunctionalCastExpr around
list-initialization that gets converted to some form other than an
InitListExpr. CXXTemporaryObjectExpr is a special case here, because it
represents a fused CXXFunctionalCastExpr + CXXConstructExpr. That, in
itself, is probably a design error...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227377 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/StmtPrinter.cpp
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/ast-print.cpp
test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp