]> granicus.if.org Git - clang/commitdiff
SimulVertex now subclasses FoldingSetNode.
authorTed Kremenek <kremenek@apple.com>
Fri, 21 Dec 2007 22:41:58 +0000 (22:41 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 21 Dec 2007 22:41:58 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45296 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/SimulVertex.h

index 20ee77c3a03698b992511d58708a9804baf47c85..cf5e67b4631a205d8a9ca563dfc16e0d09c1c1b3 100644 (file)
 #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.