aboutsummaryrefslogtreecommitdiffstats
path: root/include/Support
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-22 03:08:05 +0000
committerChris Lattner <sabre@nondot.org>2003-06-22 03:08:05 +0000
commit3889a2cb05c36f30050941679d5fd55d45e6a3ed (patch)
treeef8c51f49c7d038915d87d21f9c92954d92a617d /include/Support
parent18345bb93f0c9906dcf1d9ac45b8ee6e693c7bc5 (diff)
downloadexternal_llvm-3889a2cb05c36f30050941679d5fd55d45e6a3ed.tar.gz
external_llvm-3889a2cb05c36f30050941679d5fd55d45e6a3ed.tar.bz2
external_llvm-3889a2cb05c36f30050941679d5fd55d45e6a3ed.zip
Remove a ton of extraneous #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/Support')
-rw-r--r--include/Support/CommandLine.h1
-rw-r--r--include/Support/SCCIterator.h8
-rw-r--r--include/Support/Timer.h3
-rw-r--r--include/Support/Tree.h1
4 files changed, 5 insertions, 8 deletions
diff --git a/include/Support/CommandLine.h b/include/Support/CommandLine.h
index 728bb14678..ed2559bd2b 100644
--- a/include/Support/CommandLine.h
+++ b/include/Support/CommandLine.h
@@ -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
diff --git a/include/Support/SCCIterator.h b/include/Support/SCCIterator.h
index b7037701e0..a06e186a90 100644
--- a/include/Support/SCCIterator.h
+++ b/include/Support/SCCIterator.h
@@ -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>
//--------------------------------------------------------------------------
diff --git a/include/Support/Timer.h b/include/Support/Timer.h
index 40ab643928..5cacadaf1c 100644
--- a/include/Support/Timer.h
+++ b/include/Support/Timer.h
@@ -28,7 +28,6 @@
#include <string>
#include <vector>
#include <iosfwd>
-
#include <assert.h>
class TimerGroup;
@@ -64,7 +63,7 @@ public:
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;
}
diff --git a/include/Support/Tree.h b/include/Support/Tree.h
index 9979caaf31..7a3e9c4350 100644
--- a/include/Support/Tree.h
+++ b/include/Support/Tree.h
@@ -9,7 +9,6 @@
#define SUPPORT_TREE_H
#include <vector>
-
#include <assert.h>
template<class ConcreteTreeNode, class Payload>