Simplify namespaces
authorChris Lattner <sabre@nondot.org>
Tue, 16 Nov 2004 04:47:33 +0000 (04:47 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Nov 2004 04:47:33 +0000 (04:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17870 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPC64CodeEmitter.cpp
lib/Target/PowerPC/PPCCodeEmitter.cpp

index f2256a19c468193e55da470f7de84cc13dd00771..d35ddde4b159136cf6bbb7865edc1efde5f188c5 100644 (file)
@@ -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
-
index cdcb5ef452063fb40588a3f95e9b78ad7611e1e0..e567788067c2999161a7a3ec53fc0eae1483f56e 100644 (file)
@@ -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
-