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 | bf81ed1fcfec40c8374c0448172b803e96e8bb39 (patch) | |
tree | 00bdb5a8179c13f44cfc7fb51f77b73ec8ba9785 /clang/lib/Checker/BugReporter.cpp | |
parent | 0e7929f30ca08d09c181552176b31178dda6ce47 (diff) | |
download | bcm5719-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.cpp | 2 |
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 |