diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-16 04:47:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-16 04:47:33 +0000 |
commit | eea9b134fcd97aa6c11277864fecf2d30640d27f (patch) | |
tree | 6c031d8cbbbe4c1577f7595786d933507884aadd | |
parent | 8f1ac9f90d06cc80967f8b5f0270ecb955b83294 (diff) |
Simplify namespaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17870 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PowerPC/PPC64CodeEmitter.cpp | 5 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCCodeEmitter.cpp | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/lib/Target/PowerPC/PPC64CodeEmitter.cpp b/lib/Target/PowerPC/PPC64CodeEmitter.cpp index f2256a19c4..d35ddde4b1 100644 --- a/lib/Target/PowerPC/PPC64CodeEmitter.cpp +++ b/lib/Target/PowerPC/PPC64CodeEmitter.cpp @@ -12,8 +12,7 @@ #include "PPC64JITInfo.h" #include "PPC64TargetMachine.h" - -namespace llvm { +using namespace llvm; /// addPassesToEmitMachineCode - Add passes to the specified pass manager to get /// machine code emitted. This uses a MachineCodeEmitter object to handle @@ -40,5 +39,3 @@ void PPC64JITInfo::replaceMachineCodeForFunction (void *Old, void *New) { assert (0 && "PPC64JITInfo::replaceMachineCodeForFunction not implemented"); } -} // end llvm namespace - diff --git a/lib/Target/PowerPC/PPCCodeEmitter.cpp b/lib/Target/PowerPC/PPCCodeEmitter.cpp index cdcb5ef452..e567788067 100644 --- a/lib/Target/PowerPC/PPCCodeEmitter.cpp +++ b/lib/Target/PowerPC/PPCCodeEmitter.cpp @@ -21,8 +21,7 @@ #include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/Passes.h" #include "llvm/Support/Debug.h" - -namespace llvm { +using namespace llvm; namespace { class JITResolver { @@ -347,5 +346,3 @@ void PPC32JITInfo::replaceMachineCodeForFunction (void *Old, void *New) { #include "PPC32GenCodeEmitter.inc" -} // end llvm namespace - |