commit | d004c418b69ce11473bf5cc74db46e16272ee63d | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Apr 18 16:30:14 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Apr 18 16:30:14 2008 +0000 |
tree | bc18f585262579a458128f641f43c90620346cf3 | |
parent | b06817e914e2fad55fb19abfecc1fae83e0da62b [diff] [blame] |
Fixed bug in GREndPathNodeBuilder: only return a node if it wasn't in the node cache. llvm-svn: 49907
diff --git a/clang/lib/Analysis/GRCoreEngine.cpp b/clang/lib/Analysis/GRCoreEngine.cpp index ffb2fd2..7ad7f73 100644 --- a/clang/lib/Analysis/GRCoreEngine.cpp +++ b/clang/lib/Analysis/GRCoreEngine.cpp
@@ -456,7 +456,8 @@ if (IsNew) { Node->markAsSink(); Eng.G->addEndOfPath(Node); + return Node; } - return Node; + return NULL; }