]> granicus.if.org Git - clang/commit
Enable the user to control whether CXXConstructExpr will be added as a
authorZhongxing Xu <xuzhongxing@foxmail.com>
Wed, 28 Dec 2011 04:38:46 +0000 (04:38 +0000)
committerZhongxing Xu <xuzhongxing@foxmail.com>
Wed, 28 Dec 2011 04:38:46 +0000 (04:38 +0000)
commit72b20ff76a9070c1a481331e857aa825ae37c97f
treeefb2fe6e05a09044a8f195a138cffbd988c0f8a9
parent375bb1413c041055262c8a416f20d10474a5eda9
Enable the user to control whether CXXConstructExpr will be added as a
block-level expr. Currently CXXConstructExpr is always added as a block-level
expr. This caused two problems for the analyzer (and potentially for the
CFG-based codegen).
1. We have no way to know whether a ctor call is base or complete.
2. We have no way to know the destination object being contructed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147306 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFG.cpp