[cfe-commits] r47979 - /cfe/trunk/include/clang/Analysis/PathSensitive/ValueState.h
Ted Kremenek
kremenek at apple.com
Wed Mar 5 15:32:24 PST 2008
Author: kremenek
Date: Wed Mar 5 17:32:23 2008
New Revision: 47979
URL: http://llvm.org/viewvc/llvm-project?rev=47979&view=rev
Log:
Added "CheckerState" field to ValueState.
Modified:
cfe/trunk/include/clang/Analysis/PathSensitive/ValueState.h
Modified: cfe/trunk/include/clang/Analysis/PathSensitive/ValueState.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/ValueState.h?rev=47979&r1=47978&r2=47979&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/ValueState.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/ValueState.h Wed Mar 5 17:32:23 2008
@@ -69,6 +69,7 @@
VarBindingsTy VarBindings;
ConstNotEqTy ConstNotEq;
ConstEqTy ConstEq;
+ void* CheckerState;
public:
@@ -79,7 +80,8 @@
BlockExprBindings(EB),
VarBindings(VB),
ConstNotEq(CNE),
- ConstEq(CE) {}
+ ConstEq(CE),
+ CheckerState(NULL) {}
/// Copy ctor - We must explicitly define this or else the "Next" ptr
/// in FoldingSetNode will also get copied.
@@ -89,7 +91,8 @@
BlockExprBindings(RHS.BlockExprBindings),
VarBindings(RHS.VarBindings),
ConstNotEq(RHS.ConstNotEq),
- ConstEq(RHS.ConstEq) {}
+ ConstEq(RHS.ConstEq),
+ CheckerState(RHS.CheckerState) {}
/// Profile - Profile the contents of a ValueState object for use
/// in a FoldingSet.
@@ -99,6 +102,7 @@
V->VarBindings.Profile(ID);
V->ConstNotEq.Profile(ID);
V->ConstEq.Profile(ID);
+ ID.AddPointer(V->CheckerState);
}
/// Profile - Used to profile the contents of this object for inclusion
More information about the cfe-commits
mailing list