From 15a4bea41ede51750a2a0d79036242181b6e362d Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 25 Sep 2012 23:12:12 +0000 Subject: [PATCH] Remove 'const' version of getBasicVals(), which is useless. llvm-svn: 164643 --- clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h | 3 --- clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h index b1fe057..ec8854a 100644 --- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h +++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h @@ -260,9 +260,6 @@ public: BasicValueFactory& getBasicVals() { return StateMgr.getBasicVals(); } - const BasicValueFactory& getBasicVals() const { - return StateMgr.getBasicVals(); - } // FIXME: Remove when we migrate over to just using ValueManager. SymbolManager& getSymbolManager() { return SymMgr; } diff --git a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h index acb88a6..9997e72 100644 --- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h +++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h @@ -459,9 +459,6 @@ public: BasicValueFactory &getBasicVals() { return svalBuilder->getBasicValueFactory(); } - const BasicValueFactory& getBasicVals() const { - return svalBuilder->getBasicValueFactory(); - } SValBuilder &getSValBuilder() { return *svalBuilder; -- 2.7.4