diff options
-rw-r--r-- | include/clang/Analysis/AnalysisContext.h | 2 |
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. |