Author: kremenek
Date: Thu Sep 20 19:09:05 2012
New Revision: 164338

URL: http://llvm.org/viewvc/llvm-project?rev=164338&view=rev
Log:
Constify method.

Modified:
    cfe/trunk/include/clang/Analysis/AnalysisContext.h

Modified: cfe/trunk/include/clang/Analysis/AnalysisContext.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/AnalysisContext.h?rev=164338&r1=164337&r2=164338&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/AnalysisContext.h (original)
+++ cfe/trunk/include/clang/Analysis/AnalysisContext.h Thu Sep 20 19:09:05 2012
@@ -101,7 +101,7 @@
 
   ~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.


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to