diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2013-05-06 16:48:20 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2013-05-06 16:48:20 +0000 |
| commit | 5d2abefb621e819c7c60a0fdb351330486151c18 (patch) | |
| tree | 8bb1dea050ad741ef235f83bd471a36b7c143f6b /libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.pass.cpp | |
| parent | 6c0505e4eb7ac4be17f6a6548ae843b2bb7bf01d (diff) | |
| download | bcm5719-llvm-5d2abefb621e819c7c60a0fdb351330486151c18.tar.gz bcm5719-llvm-5d2abefb621e819c7c60a0fdb351330486151c18.zip | |
[analyzer] Handle CXXTemporaryObjectExprs in compound literals.
This occurs because in C++11 the compound literal syntax can trigger a
constructor call via list-initialization. That is, "Point{x, y}" and
"(Point){x, y}" end up being equivalent. If this occurs, the inner
CXXConstructExpr will have already handled the object construction; the
CompoundLiteralExpr just needs to propagate that value forwards.
<rdar://problem/13804098>
llvm-svn: 181213
Diffstat (limited to 'libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.pass.cpp')
0 files changed, 0 insertions, 0 deletions

