OSDN Git Service

fine grainify namespacification
authorChris Lattner <sabre@nondot.org>
Sat, 28 Feb 2004 19:53:18 +0000 (19:53 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Feb 2004 19:53:18 +0000 (19:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11959 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PowerPCTargetMachine.cpp

index 88b33f0..9a9a020 100644 (file)
 #include "llvm/Target/TargetMachineImpls.h"
 #include "llvm/CodeGen/MachineFunction.h"
 #include "llvm/CodeGen/Passes.h"
-
-namespace llvm {
+using namespace llvm;
 
 // allocatePowerPCTargetMachine - Allocate and return a subclass of 
 // TargetMachine that implements the PowerPC backend.
 //
-TargetMachine *allocatePowerPCTargetMachine(const Module &M,
-                                            IntrinsicLowering *IL) {
+TargetMachine *llvm::allocatePowerPCTargetMachine(const Module &M,
+                                                  IntrinsicLowering *IL) {
   return new PowerPCTargetMachine(M, IL);
 }
 
@@ -58,4 +57,3 @@ void PowerPCJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
   PM.add(createPrologEpilogCodeInserter());
 }
 
-} // end namespace llvm