From 49525f8cf478d1f49f5c23c094e625bbe9cd82f8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 9 Jan 2004 06:02:20 +0000 Subject: Finegrainify namespacification llvm-svn: 10725 --- llvm/lib/Transforms/Scalar/Reassociate.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'llvm/lib/Transforms/Scalar/Reassociate.cpp') diff --git a/llvm/lib/Transforms/Scalar/Reassociate.cpp b/llvm/lib/Transforms/Scalar/Reassociate.cpp index 9e22ec4e7e5..99cd7f31658 100644 --- a/llvm/lib/Transforms/Scalar/Reassociate.cpp +++ b/llvm/lib/Transforms/Scalar/Reassociate.cpp @@ -33,8 +33,7 @@ #include "Support/Debug.h" #include "Support/PostOrderIterator.h" #include "Support/Statistic.h" - -namespace llvm { +using namespace llvm; namespace { Statistic<> NumLinear ("reassociate","Number of insts linearized"); @@ -61,7 +60,7 @@ namespace { } // Public interface to the Reassociate pass -FunctionPass *createReassociatePass() { return new Reassociate(); } +FunctionPass *llvm::createReassociatePass() { return new Reassociate(); } void Reassociate::BuildRankMap(Function &F) { unsigned i = 2; @@ -295,4 +294,3 @@ bool Reassociate::runOnFunction(Function &F) { return Changed; } -} // End llvm namespace -- cgit v1.2.3