diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-09 06:02:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-09 06:02:20 +0000 |
commit | d7456026629fc1760a45e6e955e9834246493147 (patch) | |
tree | 4439882743f35a55edc3808366599b8d94d763dc /lib/Transforms/Scalar/Reassociate.cpp | |
parent | 559d519549072fc7c3ca3ee5dae78733096f22c0 (diff) |
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10725 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/Reassociate.cpp')
-rw-r--r-- | lib/Transforms/Scalar/Reassociate.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index 9e22ec4e7e..99cd7f3165 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/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 |