diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-08-25 03:33:41 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-08-25 03:33:41 +0000 |
commit | 94ec649b335f1f9022dac1f6e4af2344d41788c2 (patch) | |
tree | c11782bfd3d7403870dcf30e656ca7ca4ddc42f1 /clang/lib/Analysis/BugReporter.cpp | |
parent | 4562f1f0668f0fbbaecc225a5c22654809f8cc56 (diff) | |
download | bcm5719-llvm-94ec649b335f1f9022dac1f6e4af2344d41788c2.tar.gz bcm5719-llvm-94ec649b335f1f9022dac1f6e4af2344d41788c2.zip |
Remove Decl and CFG from ExplodedGraph. This leads to a series small changes.
llvm-svn: 79973
Diffstat (limited to 'clang/lib/Analysis/BugReporter.cpp')
-rw-r--r-- | clang/lib/Analysis/BugReporter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Analysis/BugReporter.cpp b/clang/lib/Analysis/BugReporter.cpp index 1a77ecb55f2..bda31fa4b77 100644 --- a/clang/lib/Analysis/BugReporter.cpp +++ b/clang/lib/Analysis/BugReporter.cpp @@ -1373,8 +1373,7 @@ MakeReportGraph(const ExplodedGraph* G, // Create a new (third!) graph with a single path. This is the graph // that will be returned to the caller. - ExplodedGraph *GNew = new ExplodedGraph(GTrim->getCFG(), GTrim->getCodeDecl(), - GTrim->getContext()); + ExplodedGraph *GNew = new ExplodedGraph(GTrim->getContext()); // Sometimes the trimmed graph can contain a cycle. Perform a reverse BFS // to the root node, and then construct a new graph that contains only |