summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/BugReporter.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-08-25 03:33:41 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-08-25 03:33:41 +0000
commit94ec649b335f1f9022dac1f6e4af2344d41788c2 (patch)
treec11782bfd3d7403870dcf30e656ca7ca4ddc42f1 /clang/lib/Analysis/BugReporter.cpp
parent4562f1f0668f0fbbaecc225a5c22654809f8cc56 (diff)
downloadbcm5719-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.cpp3
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
OpenPOWER on IntegriCloud