From: Ted Kremenek Date: Tue, 29 Jan 2008 23:31:09 +0000 (+0000) Subject: Fixed bit-setting bug for ExplodedNodeImpl::NodeGroup. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45c63bd37542507b1f8a6b457665f179052d857b;p=clang Fixed bit-setting bug for ExplodedNodeImpl::NodeGroup. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46535 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Analysis/ExplodedGraph.cpp b/Analysis/ExplodedGraph.cpp index 1cfb02c787..826162f243 100644 --- a/Analysis/ExplodedGraph.cpp +++ b/Analysis/ExplodedGraph.cpp @@ -28,7 +28,7 @@ void ExplodedNodeImpl::NodeGroup::addNode(ExplodedNodeImpl* N) { std::vector* V = new std::vector(); V->push_back(NOld); V->push_back(N); - P = reinterpret_cast(V) & SizeOther; + P = reinterpret_cast(V) | SizeOther; } else P = reinterpret_cast(N);