From 98f6f2573e400a4245cfb2d6976ffb8a875d25c7 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 3 Aug 2009 21:01:21 +0000 Subject: [PATCH] Regression fix: reset 'DisplayedFunction' when a new function/method decl gets analyzed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77996 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/PathSensitive/AnalysisManager.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/clang/Analysis/PathSensitive/AnalysisManager.h b/include/clang/Analysis/PathSensitive/AnalysisManager.h index 38a2af2628..dd274da1e9 100644 --- a/include/clang/Analysis/PathSensitive/AnalysisManager.h +++ b/include/clang/Analysis/PathSensitive/AnalysisManager.h @@ -80,6 +80,7 @@ public: void setContext(Decl *D) { RootContext = ContextMgr.getContext(D); + DisplayedFunction = false; } Decl *getCodeDecl() const { -- 2.40.0