summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-05-06 16:48:20 +0000
committerJordan Rose <jordan_rose@apple.com>2013-05-06 16:48:20 +0000
commit5d2abefb621e819c7c60a0fdb351330486151c18 (patch)
tree8bb1dea050ad741ef235f83bd471a36b7c143f6b /clang/lib/StaticAnalyzer/Core/RegionStore.cpp
parent6c0505e4eb7ac4be17f6a6548ae843b2bb7bf01d (diff)
downloadbcm5719-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 'clang/lib/StaticAnalyzer/Core/RegionStore.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud