diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-21 21:54:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-21 21:54:22 +0000 |
commit | 1e2385b941242f2f96398dc62767420622856149 (patch) | |
tree | d370dddfd09eb358159260177dedf7ad879830b1 /lib/Transforms/IPO/ConstantMerge.cpp | |
parent | 1192283096de782da55b3ac0a7ff15abfde8866c (diff) |
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/ConstantMerge.cpp')
-rw-r--r-- | lib/Transforms/IPO/ConstantMerge.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Transforms/IPO/ConstantMerge.cpp b/lib/Transforms/IPO/ConstantMerge.cpp index 498cd7bb14..2ae61fac6e 100644 --- a/lib/Transforms/IPO/ConstantMerge.cpp +++ b/lib/Transforms/IPO/ConstantMerge.cpp @@ -21,8 +21,7 @@ #include "llvm/Module.h" #include "llvm/Pass.h" #include "Support/Statistic.h" - -namespace llvm { +using namespace llvm; namespace { Statistic<> NumMerged("constmerge", "Number of global constants merged"); @@ -37,7 +36,7 @@ namespace { RegisterOpt<ConstantMerge> X("constmerge","Merge Duplicate Global Constants"); } -Pass *createConstantMergePass() { return new ConstantMerge(); } +Pass *llvm::createConstantMergePass() { return new ConstantMerge(); } bool ConstantMerge::run(Module &M) { std::map<Constant*, GlobalVariable*> CMap; @@ -80,4 +79,3 @@ bool ConstantMerge::run(Module &M) { return MadeChanges; } -} // End llvm namespace |