summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2011-09-19 23:17:48 +0000
committerAnna Zaks <ganna@apple.com>2011-09-19 23:17:48 +0000
commita2d7e6511a8767dc67381c210601b895a8ebae39 (patch)
treef6a95443dda46588ed397d8fae2a88beb63c0830 /include
parent0c706c29f20b6fa36759fa41333b9c3ec0bd2969 (diff)
downloadclang-a2d7e6511a8767dc67381c210601b895a8ebae39.tar.gz
[analyzer] Constify a method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Analysis/AnalysisContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/AnalysisContext.h b/include/clang/Analysis/AnalysisContext.h
index e3d2c8df35..fe017fe802 100644
--- a/include/clang/Analysis/AnalysisContext.h
+++ b/include/clang/Analysis/AnalysisContext.h
@@ -103,7 +103,7 @@ public:
void registerForcedBlockExpression(const Stmt *stmt);
const CFGBlock *getBlockForRegisteredExpression(const Stmt *stmt);
- Stmt *getBody();
+ Stmt *getBody() const;
CFG *getCFG();
CFGStmtMap *getCFGStmtMap();