[analyzer] Record whether a base object region represents a virtual base.
authorJordan Rose <jordan_rose@apple.com>
Thu, 21 Feb 2013 03:12:32 +0000 (03:12 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 21 Feb 2013 03:12:32 +0000 (03:12 +0000)
commit599f85ab85e7ec380b0bb866bfc23a87726423c8
treefbfad32ccbd54a22bd849682160058b0327cef40
parente6a8cedd2c7265cc60724f5dac21f904a8530e66
[analyzer] Record whether a base object region represents a virtual base.

This allows MemRegion and MemRegionManager to avoid asking over and over
again whether an class is a virtual base or a non-virtual base.

Minor optimization/cleanup; no functionality change.

llvm-svn: 175716
clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
clang/lib/StaticAnalyzer/Core/MemRegion.cpp
clang/lib/StaticAnalyzer/Core/Store.cpp