aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-09-21 00:09:05 +0000
committerTed Kremenek <kremenek@apple.com>2012-09-21 00:09:05 +0000
commit445895a97ae3f1d7bad3480839d31ed3ebcc9c83 (patch)
tree6a38e75f0a95b7d5f87a575fbd640c4e4f128a0a
parentcca300a91966df70c9c320e477a3c26ba622673d (diff)
Constify method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164338 91177308-0d34-0410-b5e6-96231b3b80d8
-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 8dca38df74..45dd24718a 100644
--- a/include/clang/Analysis/AnalysisContext.h
+++ b/include/clang/Analysis/AnalysisContext.h
@@ -101,7 +101,7 @@ public:
~AnalysisDeclContext();
- ASTContext &getASTContext() { return D->getASTContext(); }
+ ASTContext &getASTContext() const { return D->getASTContext(); }
const Decl *getDecl() const { return D; }
/// Return the build options used to construct the CFG.