diff options
Diffstat (limited to 'lib/Analysis/BasicStore.cpp')
-rw-r--r-- | lib/Analysis/BasicStore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp index c897b2f3fc..ba1ccf1f90 100644 --- a/lib/Analysis/BasicStore.cpp +++ b/lib/Analysis/BasicStore.cpp @@ -38,7 +38,7 @@ class VISIBILITY_HIDDEN BasicStoreManager : public StoreManager { const MemRegion* SelfRegion; public: - BasicStoreManager(GRStateManager& mgr, bool useNewCastRegion = false) + BasicStoreManager(GRStateManager& mgr, bool useNewCastRegion = true) : StoreManager(mgr, useNewCastRegion), VBFactory(mgr.getAllocator()), SelfRegion(0) {} @@ -126,8 +126,8 @@ StoreManager* clang::CreateBasicStoreManager(GRStateManager& StMgr) { return new BasicStoreManager(StMgr); } -StoreManager* clang::CreateBasicStoreNewCastManager(GRStateManager& StMgr) { - return new BasicStoreManager(StMgr, true); +StoreManager* clang::CreateBasicStoreOldCastManager(GRStateManager& StMgr) { + return new BasicStoreManager(StMgr, false); } SVal BasicStoreManager::getLValueVar(const GRState *state, const VarDecl* VD) { |