From 9a89f37dc7b72ab14a752a65f7e271312f876e9d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 28 Feb 2004 19:53:18 +0000 Subject: [PATCH] fine grainify namespacification git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11959 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PowerPCTargetMachine.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/Target/PowerPC/PowerPCTargetMachine.cpp b/lib/Target/PowerPC/PowerPCTargetMachine.cpp index 88b33f098ee..9a9a020b648 100644 --- a/lib/Target/PowerPC/PowerPCTargetMachine.cpp +++ b/lib/Target/PowerPC/PowerPCTargetMachine.cpp @@ -17,14 +17,13 @@ #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 -- 2.11.0