summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/BugReporter.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-07-01 07:10:59 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-07-01 07:10:59 +0000
commitbf81ed1fcfec40c8374c0448172b803e96e8bb39 (patch)
tree00bdb5a8179c13f44cfc7fb51f77b73ec8ba9785 /clang/lib/Checker/BugReporter.cpp
parent0e7929f30ca08d09c181552176b31178dda6ce47 (diff)
downloadbcm5719-llvm-bf81ed1fcfec40c8374c0448172b803e96e8bb39.tar.gz
bcm5719-llvm-bf81ed1fcfec40c8374c0448172b803e96e8bb39.zip
ExplodedGraph never uses ASTContext, remove it.
llvm-svn: 107388
Diffstat (limited to 'clang/lib/Checker/BugReporter.cpp')
-rw-r--r--clang/lib/Checker/BugReporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/BugReporter.cpp b/clang/lib/Checker/BugReporter.cpp
index 3bcc03f4f29..560953f358a 100644
--- a/clang/lib/Checker/BugReporter.cpp
+++ b/clang/lib/Checker/BugReporter.cpp
@@ -1403,7 +1403,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->getContext());
+ ExplodedGraph *GNew = new ExplodedGraph();
// 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