From: Zhongxing Xu Date: Fri, 3 Jul 2009 06:11:41 +0000 (+0000) Subject: remove utility methods that are not very useful. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8834af3f8e85c0a7e309e5be9b41e438f51b9b36;p=clang remove utility methods that are not very useful. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74762 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/ValueManager.h b/include/clang/Analysis/PathSensitive/ValueManager.h index 886567039c..36d1df2150 100644 --- a/include/clang/Analysis/PathSensitive/ValueManager.h +++ b/include/clang/Analysis/PathSensitive/ValueManager.h @@ -68,9 +68,6 @@ public: return SymMgr.getConjuredSymbol(E, VisitCount, SymbolTag); } - SVal makeUnknownVal() { return UnknownVal(); } - SVal makeUndefinedVal() { return UndefinedVal(); } - /// makeZeroVal - Construct an SVal representing '0' for the specified type. SVal makeZeroVal(QualType T); diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 288831c5f9..23e8b738b6 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -937,7 +937,7 @@ SVal RegionStoreManager::RetrieveElement(const GRState* state, // Check if the super region has a binding. if (B.lookup(superR)) { // We do not extract the bit value from super region for now. - return ValMgr.makeUnknownVal(); + return UnknownVal(); } if (R->hasHeapStorage()) {