[llvm-commits] CVS: llvm/include/Support/Annotation.h BitSetVector.h CommandLine.h TarjanSCCIterator.h Timer.h Tree.h

John Criswell criswell at cs.uiuc.edu
Wed Jun 11 09:03:01 PDT 2003


Changes in directory llvm/include/Support:

Annotation.h updated: 1.7 -> 1.8
BitSetVector.h updated: 1.4 -> 1.5
CommandLine.h updated: 1.11 -> 1.12
TarjanSCCIterator.h updated: 1.4 -> 1.5
Timer.h updated: 1.5 -> 1.6
Tree.h updated: 1.2 -> 1.3

---
Log message:

Included assert.h so that the code compiles under newer versions of GCC.


---
Diffs of the changes:

Index: llvm/include/Support/Annotation.h
diff -u llvm/include/Support/Annotation.h:1.7 llvm/include/Support/Annotation.h:1.8
--- llvm/include/Support/Annotation.h:1.7	Tue Jan 14 15:29:07 2003
+++ llvm/include/Support/Annotation.h	Wed Jun 11 09:01:21 2003
@@ -16,6 +16,7 @@
 #define SUPPORT_ANNOTATION_H
 
 #include <string>
+#include <assert.h>
 class AnnotationID;
 class Annotation;
 class Annotable;


Index: llvm/include/Support/BitSetVector.h
diff -u llvm/include/Support/BitSetVector.h:1.4 llvm/include/Support/BitSetVector.h:1.5
--- llvm/include/Support/BitSetVector.h:1.4	Mon Mar 17 12:11:27 2003
+++ llvm/include/Support/BitSetVector.h	Wed Jun 11 09:01:21 2003
@@ -31,6 +31,7 @@
 #include <functional>
 #include <iostream>
 
+#include <assert.h>
 
 #define WORDSIZE (32U)
 


Index: llvm/include/Support/CommandLine.h
diff -u llvm/include/Support/CommandLine.h:1.11 llvm/include/Support/CommandLine.h:1.12
--- llvm/include/Support/CommandLine.h:1.11	Tue Jun  3 10:30:37 2003
+++ llvm/include/Support/CommandLine.h	Wed Jun 11 09:01:21 2003
@@ -19,6 +19,8 @@
 #include <cstdarg>
 #include "boost/type_traits/object_traits.hpp"
 
+#include <assert.h>
+
 /// cl Namespace - This namespace contains all of the command line option
 /// processing machinery.  It is intentionally a short name to make qualified
 /// usage concise.


Index: llvm/include/Support/TarjanSCCIterator.h
diff -u llvm/include/Support/TarjanSCCIterator.h:1.4 llvm/include/Support/TarjanSCCIterator.h:1.5
--- llvm/include/Support/TarjanSCCIterator.h:1.4	Fri Dec  6 09:02:22 2002
+++ llvm/include/Support/TarjanSCCIterator.h	Wed Jun 11 09:01:21 2003
@@ -21,6 +21,7 @@
 #include <stack>
 #include <map>
 
+#include <assert.h>
 
 //--------------------------------------------------------------------------
 // class SCC : A simple representation of an SCC in a generic Graph.


Index: llvm/include/Support/Timer.h
diff -u llvm/include/Support/Timer.h:1.5 llvm/include/Support/Timer.h:1.6
--- llvm/include/Support/Timer.h:1.5	Fri May  9 15:44:22 2003
+++ llvm/include/Support/Timer.h	Wed Jun 11 09:01:21 2003
@@ -29,6 +29,8 @@
 #include <vector>
 #include <iosfwd>
 
+#include <assert.h>
+
 class TimerGroup;
 
 class Timer {


Index: llvm/include/Support/Tree.h
diff -u llvm/include/Support/Tree.h:1.2 llvm/include/Support/Tree.h:1.3
--- llvm/include/Support/Tree.h:1.2	Sun Jan 20 16:54:19 2002
+++ llvm/include/Support/Tree.h	Wed Jun 11 09:01:21 2003
@@ -10,6 +10,8 @@
 
 #include <vector>
 
+#include <assert.h>
+
 template<class ConcreteTreeNode, class Payload>
 class Tree {
   std::vector<ConcreteTreeNode*> Children;        // This nodes children, if any





More information about the llvm-commits mailing list