aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/initializer.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-07-26 20:04:13 +0000
committerJordan Rose <jordan_rose@apple.com>2012-07-26 20:04:13 +0000
commit888c90ac0ef6baf7d47e86cf5cc4715707d223b1 (patch)
treecd103a2e63d98b39b1b8c75a04a516cd1fd9efc3 /test/Analysis/initializer.cpp
parentd7f1d134a03ace51f8d142fbb7f436330704ede5 (diff)
[analyzer] Handle base class initializers and destructors.
Most of the logic here is fairly simple; the interesting thing is that we now distinguish complete constructors from base or delegate constructors. We also make sure to cast to the base class before evaluating a constructor or destructor, since non-virtual base classes may behave differently. This includes some refactoring of VisitCXXConstructExpr and VisitCXXDestructor in order to keep ExprEngine.cpp as clean as possible (leaving the details for ExprEngineCXX.cpp). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160806 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/initializer.cpp')
0 files changed, 0 insertions, 0 deletions