[cfe-commits] r45296 - /cfe/trunk/include/clang/Analysis/PathSensitive/SimulVertex.h

Ted Kremenek kremenek at apple.com
Fri Dec 21 14:41:59 PST 2007


Author: kremenek
Date: Fri Dec 21 16:41:58 2007
New Revision: 45296

URL: http://llvm.org/viewvc/llvm-project?rev=45296&view=rev
Log:
SimulVertex now subclasses FoldingSetNode.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/SimulVertex.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/SimulVertex.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/SimulVertex.h?rev=45296&r1=45295&r2=45296&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/SimulVertex.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/SimulVertex.h Fri Dec 21 16:41:58 2007
@@ -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.





More information about the cfe-commits mailing list