Add some missing includes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76346 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-07-18 23:22:46 +00:00
parent 2451a64687
commit edcb540496
5 changed files with 5 additions and 1 deletions

View File

@ -142,7 +142,7 @@ namespace llvm {
class iterator { class iterator {
const Target *Current; const Target *Current;
explicit iterator(Target *T) : Current(T) {} explicit iterator(Target *T) : Current(T) {}
friend class TargetRegistry; friend struct TargetRegistry;
public: public:
iterator(const iterator &I) : Current(I.Current) {} iterator(const iterator &I) : Current(I.Current) {}
iterator() : Current(0) {} iterator() : Current(0) {}

View File

@ -7,6 +7,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "SPU.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/Target/TargetRegistry.h" #include "llvm/Target/TargetRegistry.h"
using namespace llvm; using namespace llvm;

View File

@ -7,6 +7,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "CPPTargetMachine.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/Target/TargetRegistry.h" #include "llvm/Target/TargetRegistry.h"
using namespace llvm; using namespace llvm;

View File

@ -7,6 +7,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "MSILWriter.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/Target/TargetRegistry.h" #include "llvm/Target/TargetRegistry.h"
using namespace llvm; using namespace llvm;

View File

@ -7,6 +7,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "X86.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/Target/TargetRegistry.h" #include "llvm/Target/TargetRegistry.h"
using namespace llvm; using namespace llvm;