[cfe-commits] r77996 - /cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisManager.h

Ted Kremenek kremenek at apple.com
Mon Aug 3 14:01:39 PDT 2009


Author: kremenek
Date: Mon Aug  3 16:01:21 2009
New Revision: 77996

URL: http://llvm.org/viewvc/llvm-project?rev=77996&view=rev
Log:
Regression fix: reset 'DisplayedFunction' when a new function/method decl gets analyzed.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisManager.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisManager.h?rev=77996&r1=77995&r2=77996&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisManager.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisManager.h Mon Aug  3 16:01:21 2009
@@ -80,6 +80,7 @@
 
   void setContext(Decl *D) {
     RootContext = ContextMgr.getContext(D);
+    DisplayedFunction = false;
   }
     
   Decl *getCodeDecl() const { 





More information about the cfe-commits mailing list