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
This commit is contained in:
Dan Gohman
2009-01-05 17:59:02 +00:00
parent 08f053f5d1
commit d68a07650c
99 changed files with 97 additions and 171 deletions

View File

@ -22,7 +22,6 @@
#ifndef LLVM_SUPPORT_ANNOTATION_H
#define LLVM_SUPPORT_ANNOTATION_H
#include <string>
#include <cassert>
namespace llvm {

View File

@ -15,7 +15,6 @@
#define LLVM_SUPPORT_DATAFLOW_H
#include "llvm/User.h"
#include "llvm/Value.h"
#include "llvm/ADT/GraphTraits.h"
namespace llvm {

View File

@ -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 {

View File

@ -23,7 +23,6 @@
#include "llvm/Support/DataTypes.h"
#include <cstring>
#include <cstdlib>
namespace llvm {

View File

@ -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"

View File

@ -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))

View File

@ -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

View File

@ -129,4 +129,5 @@ public:
};
} // End llvm namespace
#endif

View File

@ -59,4 +59,3 @@ namespace llvm {
} // end namespace llvm
#endif