From: Ted Kremenek Date: Fri, 21 Sep 2012 00:09:05 +0000 (+0000) Subject: Constify method. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=445895a97ae3f1d7bad3480839d31ed3ebcc9c83;p=clang Constify method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164338 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.