From: Zhongxing Xu Date: Wed, 25 Nov 2009 03:07:22 +0000 (+0000) Subject: UndefResults is not needed. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc6c676448f4726dbdf086d4cb066b0fa3e97db2;p=clang UndefResults is not needed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89834 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/GRExprEngine.h b/include/clang/Analysis/PathSensitive/GRExprEngine.h index 5c6475acf8..89a21d7875 100644 --- a/include/clang/Analysis/PathSensitive/GRExprEngine.h +++ b/include/clang/Analysis/PathSensitive/GRExprEngine.h @@ -87,13 +87,6 @@ class GRExprEngine : public GRSubEngine { // destructor is called before the rest of the GRExprEngine is destroyed. GRBugReporter BR; -public: - typedef llvm::SmallPtrSet ErrorNodes; - - /// UndefResults - Nodes in the ExplodedGraph where the operands are defined - /// by the result is not. Excludes divide-by-zero errors. - ErrorNodes UndefResults; - public: GRExprEngine(AnalysisManager &mgr); @@ -153,10 +146,6 @@ public: return static_cast(lookupChecker(CHECKER::getTag())); } - typedef ErrorNodes::iterator undef_result_iterator; - undef_result_iterator undef_results_begin() { return UndefResults.begin(); } - undef_result_iterator undef_results_end() { return UndefResults.end(); } - void AddCheck(GRSimpleAPICheck* A, Stmt::StmtClass C); void AddCheck(GRSimpleAPICheck* A);