aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/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/llvm/Support
parent18345bb93f0c9906dcf1d9ac45b8ee6e693c7bc5 (diff)
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/llvm/Support')
-rw-r--r--include/llvm/Support/CFG.h2
-rw-r--r--include/llvm/Support/CommandLine.h1
-rw-r--r--include/llvm/Support/InstVisitor.h1
-rw-r--r--include/llvm/Support/PassNameParser.h1
-rw-r--r--include/llvm/Support/Timer.h3
5 files changed, 1 insertions, 7 deletions
diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h
index 7e2774a688..aab0db9712 100644
--- a/include/llvm/Support/CFG.h
+++ b/include/llvm/Support/CFG.h
@@ -13,8 +13,6 @@
#include "llvm/InstrTypes.h"
#include "Support/iterator"
-#include <assert.h>
-
//===--------------------------------------------------------------------===//
// BasicBlock pred_iterator definition
//===--------------------------------------------------------------------===//
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index 728bb14678..ed2559bd2b 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/include/llvm/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/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h
index e4508a366f..6004aac88f 100644
--- a/include/llvm/Support/InstVisitor.h
+++ b/include/llvm/Support/InstVisitor.h
@@ -44,7 +44,6 @@
#define LLVM_SUPPORT_INSTVISITOR_H
#include "llvm/Instruction.h"
-#include <assert.h>
class Module;
diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h
index a1d525f21a..c324161f30 100644
--- a/include/llvm/Support/PassNameParser.h
+++ b/include/llvm/Support/PassNameParser.h
@@ -20,7 +20,6 @@
#include "llvm/Pass.h"
#include <algorithm>
#include <iostream>
-#include <assert.h>
//===----------------------------------------------------------------------===//
// PassNameParser class - Make use of the pass registration mechanism to
diff --git a/include/llvm/Support/Timer.h b/include/llvm/Support/Timer.h
index 40ab643928..5cacadaf1c 100644
--- a/include/llvm/Support/Timer.h
+++ b/include/llvm/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;
}