diff options
author | Anna Zaks <ganna@apple.com> | 2011-11-17 01:09:19 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2011-11-17 01:09:19 +0000 |
commit | eeea7c44a6986752fedee1ef1bcef855db373872 (patch) | |
tree | 9a1f4c760478cded0a245a79092da03b0de716e6 /lib/StaticAnalyzer/Core/CheckerContext.cpp | |
parent | 8687397a0f5e4c31632959d907f9d9b38d793b1c (diff) |
[analysis] Constify CheckerContext.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/CheckerContext.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/CheckerContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/CheckerContext.cpp b/lib/StaticAnalyzer/Core/CheckerContext.cpp index f5bcfa9868..75cb82a67c 100644 --- a/lib/StaticAnalyzer/Core/CheckerContext.cpp +++ b/lib/StaticAnalyzer/Core/CheckerContext.cpp @@ -16,7 +16,7 @@ using namespace clang; using namespace ento; -StringRef CheckerContext::getCalleeName(const CallExpr *CE) { +StringRef CheckerContext::getCalleeName(const CallExpr *CE) const { const ProgramState *State = getState(); const Expr *Callee = CE->getCallee(); SVal L = State->getSVal(Callee); |