diff options
author | Dan Gohman <gohman@apple.com> | 2009-01-05 17:59:02 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-01-05 17:59:02 +0000 |
commit | d68a07650cdb2e18f18f362ba533459aa10e01b6 (patch) | |
tree | 0b0b5b402393260240d66dd4889d094b41a2ee82 /include/llvm/Support | |
parent | 08f053f5d1df120dc8389a3ec8947ab16b1ccc53 (diff) |
Tidy up #includes, deleting a bunch of unnecessary #includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r-- | include/llvm/Support/Annotation.h | 1 | ||||
-rw-r--r-- | include/llvm/Support/DataFlow.h | 1 | ||||
-rw-r--r-- | include/llvm/Support/DebugInfoBuilder.h | 2 | ||||
-rw-r--r-- | include/llvm/Support/ELF.h | 1 | ||||
-rw-r--r-- | include/llvm/Support/IRBuilder.h | 1 | ||||
-rw-r--r-- | include/llvm/Support/InstVisitor.h | 4 | ||||
-rw-r--r-- | include/llvm/Support/MutexGuard.h | 2 | ||||
-rw-r--r-- | include/llvm/Support/PassNameParser.h | 1 | ||||
-rw-r--r-- | include/llvm/Support/PredIteratorCache.h | 1 |
9 files changed, 3 insertions, 11 deletions
diff --git a/include/llvm/Support/Annotation.h b/include/llvm/Support/Annotation.h index dcdcf22454..ffc92965e6 100644 --- a/include/llvm/Support/Annotation.h +++ b/include/llvm/Support/Annotation.h @@ -22,7 +22,6 @@ #ifndef LLVM_SUPPORT_ANNOTATION_H #define LLVM_SUPPORT_ANNOTATION_H -#include <string> #include <cassert> namespace llvm { diff --git a/include/llvm/Support/DataFlow.h b/include/llvm/Support/DataFlow.h index 8d0ae0c70c..110e0e11a5 100644 --- a/include/llvm/Support/DataFlow.h +++ b/include/llvm/Support/DataFlow.h @@ -15,7 +15,6 @@ #define LLVM_SUPPORT_DATAFLOW_H #include "llvm/User.h" -#include "llvm/Value.h" #include "llvm/ADT/GraphTraits.h" namespace llvm { diff --git a/include/llvm/Support/DebugInfoBuilder.h b/include/llvm/Support/DebugInfoBuilder.h index 875ae4180f..4c12ca46ae 100644 --- a/include/llvm/Support/DebugInfoBuilder.h +++ b/include/llvm/Support/DebugInfoBuilder.h @@ -15,7 +15,7 @@ #ifndef LLVM_SUPPORT_DEBUGINFOBUILDER_H #define LLVM_SUPPORT_DEBUGINFOBUILDER_H -#include <llvm/Module.h> +#include "llvm/Module.h" #include <string> namespace llvm { diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h index 3a9c970321..3552c872ee 100644 --- a/include/llvm/Support/ELF.h +++ b/include/llvm/Support/ELF.h @@ -23,7 +23,6 @@ #include "llvm/Support/DataTypes.h" #include <cstring> -#include <cstdlib> namespace llvm { diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h index 5496a541c0..719e4832da 100644 --- a/include/llvm/Support/IRBuilder.h +++ b/include/llvm/Support/IRBuilder.h @@ -15,7 +15,6 @@ #ifndef LLVM_SUPPORT_IRBUILDER_H #define LLVM_SUPPORT_IRBUILDER_H -#include "llvm/BasicBlock.h" #include "llvm/Constants.h" #include "llvm/Instructions.h" #include "llvm/GlobalVariable.h" diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index 932e7fbb7f..0b8a9bdead 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -23,10 +23,6 @@ namespace llvm { #define HANDLE_INST(NUM, OPCODE, CLASS) class CLASS; #include "llvm/Instruction.def" -// Forward declare the intermediate types... -class TerminatorInst; class BinaryOperator; -class AllocationInst; - #define DELEGATE(CLASS_TO_VISIT) \ return static_cast<SubClass*>(this)-> \ visit##CLASS_TO_VISIT(static_cast<CLASS_TO_VISIT&>(I)) diff --git a/include/llvm/Support/MutexGuard.h b/include/llvm/Support/MutexGuard.h index 723794177c..9958b97a3e 100644 --- a/include/llvm/Support/MutexGuard.h +++ b/include/llvm/Support/MutexGuard.h @@ -15,7 +15,7 @@ #ifndef LLVM_SUPPORT_MUTEXGUARD_H #define LLVM_SUPPORT_MUTEXGUARD_H -#include <llvm/System/Mutex.h> +#include "llvm/System/Mutex.h" namespace llvm { /// Instances of this class acquire a given Mutex Lock when constructed and diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index 961638c43f..e489e0a6f0 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -129,4 +129,5 @@ public: }; } // End llvm namespace + #endif diff --git a/include/llvm/Support/PredIteratorCache.h b/include/llvm/Support/PredIteratorCache.h index 2de2a02461..9eb7a77044 100644 --- a/include/llvm/Support/PredIteratorCache.h +++ b/include/llvm/Support/PredIteratorCache.h @@ -59,4 +59,3 @@ namespace llvm { } // end namespace llvm #endif - |