diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-07-01 07:10:59 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-07-01 07:10:59 +0000 |
commit | c77a55126fcad66fb086f8e100a494caa2496a2d (patch) | |
tree | 920629b256fc067a164c22e3c8c53b07cd7ab5db /lib/Checker/BugReporter.cpp | |
parent | a9fa85841102e81daaa23650d89b120fe9dacedc (diff) |
ExplodedGraph never uses ASTContext, remove it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/BugReporter.cpp')
-rw-r--r-- | lib/Checker/BugReporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/BugReporter.cpp b/lib/Checker/BugReporter.cpp index 3bcc03f4f2..560953f358 100644 --- a/lib/Checker/BugReporter.cpp +++ b/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 |