aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-12-21 22:41:58 +0000
committerTed Kremenek <kremenek@apple.com>2007-12-21 22:41:58 +0000
commit5facce90d015c3785d8052990ca88b7e4bf77892 (patch)
treef1e96e7d464a0571208540fe0b71777eaa0892b3
parenta3b859120923648dc91a0bc7e7c4e471abe10cef (diff)
SimulVertex now subclasses FoldingSetNode.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45296 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Analysis/PathSensitive/SimulVertex.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/clang/Analysis/PathSensitive/SimulVertex.h b/include/clang/Analysis/PathSensitive/SimulVertex.h
index 20ee77c3a0..cf5e67b463 100644
--- a/include/clang/Analysis/PathSensitive/SimulVertex.h
+++ b/include/clang/Analysis/PathSensitive/SimulVertex.h
@@ -17,17 +17,14 @@
#define LLVM_CLANG_ANALYSIS_PS_ANALYSISVERTEX
#include "llvm/ADT/SmallVector.h"
-
-namespace llvm {
- class FoldingSetID;
-}
+#include "llvm/ADT/FoldingSet.h"
namespace clang {
class ProgramEdge;
template <typename StateTy>
-class SimulVertex {
+class SimulVertex : public FoldingSetNode {
/// VertexID - A unique ID for the vertex. This number indicates the
/// creation order of vertices, with lower numbers being created first.
/// The first created vertex has VertexID == 0.