aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/Store.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-02-08 07:10:35 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-02-08 07:10:35 +0000
commit459731d468235fa8adb27132be46a3b5654351c3 (patch)
tree2b9289584552cf3147666f178132e324d2b5f78e /lib/Checker/Store.cpp
parent53cb6f82c41397917b14fb8cdcb32e6c9bd07655 (diff)
Move common methods to the base StoreManager class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/Store.cpp')
-rw-r--r--lib/Checker/Store.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/Checker/Store.cpp b/lib/Checker/Store.cpp
index 5893733c54..5a8f885332 100644
--- a/lib/Checker/Store.cpp
+++ b/lib/Checker/Store.cpp
@@ -234,16 +234,3 @@ Store StoreManager::InvalidateRegions(Store store,
return store;
}
-
-//===----------------------------------------------------------------------===//
-// Common getLValueXXX methods.
-//===----------------------------------------------------------------------===//
-
-/// getLValueCompoundLiteral - Returns an SVal representing the lvalue
-/// of a compound literal. Within RegionStore a compound literal
-/// has an associated region, and the lvalue of the compound literal
-/// is the lvalue of that region.
-SVal StoreManager::getLValueCompoundLiteral(const CompoundLiteralExpr* CL,
- const LocationContext *LC) {
- return loc::MemRegionVal(MRMgr.getCompoundLiteralRegion(CL, LC));
-}