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

Chris Lattner lattner at cs.uiuc.edu
Sat Jun 21 22:09:01 CDT 2003


Changes in directory llvm/include/Support:

Timer.h updated: 1.6 -> 1.7
Tree.h updated: 1.4 -> 1.5
TarjanSCCIterator.h updated: 1.6 -> 1.7
CommandLine.h updated: 1.13 -> 1.14

---
Log message:

Remove a ton of extraneous #includes


---
Diffs of the changes:

Index: llvm/include/Support/Timer.h
diff -u llvm/include/Support/Timer.h:1.6 llvm/include/Support/Timer.h:1.7
--- llvm/include/Support/Timer.h:1.6	Wed Jun 11 09:01:21 2003
+++ llvm/include/Support/Timer.h	Sat Jun 21 22:08:05 2003
@@ -28,7 +28,6 @@
 #include <string>
 #include <vector>
 #include <iosfwd>
-
 #include <assert.h>
 
 class TimerGroup;
@@ -64,7 +63,7 @@
     PeakMemBase = T.PeakMemBase;
     Name = T.Name;
     Started = T.Started;
-    assert (TG == T.TG && "Can only assign timers in the same TimerGroup!");
+    assert(TG == T.TG && "Can only assign timers in the same TimerGroup!");
     return *this;
   }
 


Index: llvm/include/Support/Tree.h
diff -u llvm/include/Support/Tree.h:1.4 llvm/include/Support/Tree.h:1.5
--- llvm/include/Support/Tree.h:1.4	Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/Tree.h	Sat Jun 21 22:08:05 2003
@@ -9,7 +9,6 @@
 #define SUPPORT_TREE_H
 
 #include <vector>
-
 #include <assert.h>
 
 template<class ConcreteTreeNode, class Payload>


Index: llvm/include/Support/TarjanSCCIterator.h
diff -u llvm/include/Support/TarjanSCCIterator.h:1.6 llvm/include/Support/TarjanSCCIterator.h:1.7
--- llvm/include/Support/TarjanSCCIterator.h:1.6	Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/TarjanSCCIterator.h	Sat Jun 21 22:08:05 2003
@@ -1,4 +1,4 @@
-//===-- Support/TarjanSCCIterator.h -Generic Tarjan SCC iterator -*- C++ -*--=//
+//===-- Support/TarjanSCCIterator.h - Tarjan SCC iterator -------*- C++ -*-===//
 //
 // This builds on the Support/GraphTraits.h file to find the strongly 
 // connected components (SCCs) of a graph in O(N+E) time using
@@ -9,18 +9,18 @@
 // 
 // To visit S1 *before* S2, use the TarjanSCCIterator on the Inverse graph.
 // (NOTE: This requires some simple wrappers and is not supported yet.)
+//
 //===----------------------------------------------------------------------===//
 
 #ifndef SUPPORT_TARJANSCCITERATOR_H
 #define SUPPORT_TARJANSCCITERATOR_H
 
 #include "Support/GraphTraits.h"
-#include <Support/Statistic.h>
-#include <Support/iterator>
+#include "Support/Statistic.h"
+#include "Support/iterator"
 #include <vector>
 #include <stack>
 #include <map>
-
 #include <assert.h>
 
 //--------------------------------------------------------------------------


Index: llvm/include/Support/CommandLine.h
diff -u llvm/include/Support/CommandLine.h:1.13 llvm/include/Support/CommandLine.h:1.14
--- llvm/include/Support/CommandLine.h:1.13	Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/CommandLine.h	Sat Jun 21 22:08:05 2003
@@ -18,7 +18,6 @@
 #include <utility>
 #include <cstdarg>
 #include "boost/type_traits/object_traits.hpp"
-
 #include <assert.h>
 
 /// cl Namespace - This namespace contains all of the command line option





More information about the llvm-commits mailing list