diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-07-26 20:04:13 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-07-26 20:04:13 +0000 |
commit | b970505d0d33e6ed69eb6dc34460eac13a6babec (patch) | |
tree | ff36e499404c838caf5eb57ffe7fdbe9dca442e5 /clang/lib/StaticAnalyzer/Core/RegionStore.cpp | |
parent | b3244566f002bba9fb5149d85eee26017e04bbf1 (diff) | |
download | bcm5719-llvm-b970505d0d33e6ed69eb6dc34460eac13a6babec.tar.gz bcm5719-llvm-b970505d0d33e6ed69eb6dc34460eac13a6babec.zip |
[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).
llvm-svn: 160806
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/RegionStore.cpp')
0 files changed, 0 insertions, 0 deletions