aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/ExtractFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-21 21:54:22 +0000
committerChris Lattner <sabre@nondot.org>2003-11-21 21:54:22 +0000
commit1e2385b941242f2f96398dc62767420622856149 (patch)
treed370dddfd09eb358159260177dedf7ad879830b1 /lib/Transforms/IPO/ExtractFunction.cpp
parent1192283096de782da55b3ac0a7ff15abfde8866c (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/ExtractFunction.cpp')
-rw-r--r--lib/Transforms/IPO/ExtractFunction.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Transforms/IPO/ExtractFunction.cpp b/lib/Transforms/IPO/ExtractFunction.cpp
index 4e61a3433a..f98c6197dc 100644
--- a/lib/Transforms/IPO/ExtractFunction.cpp
+++ b/lib/Transforms/IPO/ExtractFunction.cpp
@@ -6,11 +6,11 @@
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
+
#include "llvm/Transforms/IPO.h"
#include "llvm/Pass.h"
#include "llvm/Module.h"
-
-namespace llvm {
+using namespace llvm;
namespace {
class FunctionExtractorPass : public Pass {
@@ -89,8 +89,6 @@ namespace {
RegisterPass<FunctionExtractorPass> X("extract", "Function Extractor");
}
-Pass *createFunctionExtractionPass(Function *F) {
+Pass *llvm::createFunctionExtractionPass(Function *F) {
return new FunctionExtractorPass(F);
}
-
-} // End llvm namespace