aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/Printer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-14 06:00:36 +0000
committerChris Lattner <sabre@nondot.org>2004-02-14 06:00:36 +0000
commit300d0eda6fe644a32c931a9c4eee02eebd289902 (patch)
tree0bf5d93f6de041488dcb4e6fe3c0efbe80493c35 /lib/Target/X86/Printer.cpp
parentcc42d2c3ccd17a82c3c0abc95a720e183e84dbdd (diff)
finegrainify namespacification, fix 80col prob
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Printer.cpp')
-rw-r--r--lib/Target/X86/Printer.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Target/X86/Printer.cpp b/lib/Target/X86/Printer.cpp
index 840aa4a941..f591612aea 100644
--- a/lib/Target/X86/Printer.cpp
+++ b/lib/Target/X86/Printer.cpp
@@ -28,8 +28,7 @@
#include "Support/Statistic.h"
#include "Support/StringExtras.h"
#include "Support/CommandLine.h"
-
-namespace llvm {
+using namespace llvm;
namespace {
Statistic<> EmittedInsts("asm-printer", "Number of machine instrs printed");
@@ -91,7 +90,7 @@ namespace {
/// using the given target machine description. This should work
/// regardless of whether the function is in SSA form.
///
-FunctionPass *createX86CodePrinterPass(std::ostream &o,TargetMachine &tm){
+FunctionPass *llvm::createX86CodePrinterPass(std::ostream &o,TargetMachine &tm){
return new Printer(o, tm);
}
@@ -946,5 +945,3 @@ bool Printer::doFinalization(Module &M) {
delete Mang;
return false; // success
}
-
-} // End llvm namespace