summaryrefslogtreecommitdiff
path: root/lib/Target/MSIL/MSILWriter.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-07-26 08:16:51 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-07-26 08:16:51 +0000
commit92fbbc75889918036035581ef0aa5d6510b2f8d9 (patch)
tree1c844414a219fdcb646874fc8671fee9105a5061 /lib/Target/MSIL/MSILWriter.h
parent93b67e40de356569493c285b86b138a3f11b5035 (diff)
downloadllvm-92fbbc75889918036035581ef0aa5d6510b2f8d9.tar.gz
llvm-92fbbc75889918036035581ef0aa5d6510b2f8d9.tar.bz2
llvm-92fbbc75889918036035581ef0aa5d6510b2f8d9.tar.xz
Move MSILModule and MSILWriter into the 'llvm' namespace, instead of the 'MSIL'
namespace which could very well conflict with non-LLVM code. Also clean up some spacing, remove an extra header. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSIL/MSILWriter.h')
-rw-r--r--lib/Target/MSIL/MSILWriter.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Target/MSIL/MSILWriter.h b/lib/Target/MSIL/MSILWriter.h
index 21ff359920..aa9e07540f 100644
--- a/lib/Target/MSIL/MSILWriter.h
+++ b/lib/Target/MSIL/MSILWriter.h
@@ -27,14 +27,9 @@
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/Mangler.h"
-#include <ios>
-using namespace llvm;
namespace llvm {
extern Target TheMSILTarget;
-}
-
-namespace MSIL {
class MSILModule : public ModulePass {
Module *ModulePtr;
@@ -60,7 +55,7 @@ namespace MSIL {
};
- class MSILWriter : public FunctionPass {
+ class MSILWriter : public FunctionPass {
struct StaticInitializer {
const Constant* constant;
uint64_t offset;