diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-11-11 06:28:42 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-11-11 06:28:42 +0000 |
commit | 1d9cbeb76cf4c36acf5545028e2b2ac207086442 (patch) | |
tree | 508215df4fa2e1e2758cfc933e5ad97c51c33d1b /include/clang/Analysis | |
parent | b52d243d3626bb08758022c39b2cbc58160eadd7 (diff) |
Fix display of "ANALYZE" statements in AnalysisConsumer by correctly resetting the flag indicating that the current Decl* has not yet been displayed. Also move this out of AnalysisManager, since AnalysisManager should not handle text output to the user.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis')
-rw-r--r-- | include/clang/Analysis/PathSensitive/AnalysisManager.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/clang/Analysis/PathSensitive/AnalysisManager.h b/include/clang/Analysis/PathSensitive/AnalysisManager.h index 488334623b..18eae9ac9f 100644 --- a/include/clang/Analysis/PathSensitive/AnalysisManager.h +++ b/include/clang/Analysis/PathSensitive/AnalysisManager.h @@ -37,7 +37,6 @@ class AnalysisManager : public BugReporterData { enum AnalysisScope { ScopeTU, ScopeDecl } AScope; - bool DisplayedFunction; bool VisualizeEGDot; bool VisualizeEGUbi; bool PurgeDead; @@ -62,7 +61,7 @@ public: : Ctx(ctx), Diags(diags), LangInfo(lang), PD(pd), CreateStoreMgr(storemgr), CreateConstraintMgr(constraintmgr), - AScope(ScopeDecl), DisplayedFunction(!displayProgress), + AScope(ScopeDecl), VisualizeEGDot(vizdot), VisualizeEGUbi(vizubi), PurgeDead(purge), EagerlyAssume(eager), TrimGraph(trim) {} @@ -120,8 +119,6 @@ public: bool shouldEagerlyAssume() const { return EagerlyAssume; } - void DisplayFunction(Decl *D); - CFG *getCFG(Decl const *D) { return AnaCtxMgr.getContext(D)->getCFG(); } |