aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/LevelRaise.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-23 07:43:38 +0000
committerChris Lattner <sabre@nondot.org>2003-12-23 07:43:38 +0000
commite799902fbbcac064fd225c299b7da87623198aea (patch)
treee153d1e4d0b1027d2d328f01723d54615de0368e /lib/Transforms/LevelRaise.cpp
parent790462ca1fa5102558642a45f48015e99c073165 (diff)
Remove extraneous #include
finegrainify namespacification git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/LevelRaise.cpp')
-rw-r--r--lib/Transforms/LevelRaise.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Transforms/LevelRaise.cpp b/lib/Transforms/LevelRaise.cpp
index 3dcb501bbb..d76beee56f 100644
--- a/lib/Transforms/LevelRaise.cpp
+++ b/lib/Transforms/LevelRaise.cpp
@@ -20,15 +20,13 @@
#include "llvm/iMemory.h"
#include "llvm/Pass.h"
#include "llvm/ConstantHandling.h"
-#include "llvm/Analysis/Expressions.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "Support/CommandLine.h"
#include "Support/Debug.h"
#include "Support/Statistic.h"
#include "Support/STLExtras.h"
#include <algorithm>
-
-namespace llvm {
+using namespace llvm;
// StartInst - This enables the -raise-start-inst=foo option to cause the level
// raising pass to start at instruction "foo", which is immensely useful for
@@ -87,7 +85,7 @@ namespace {
}
-Pass *createRaisePointerReferencesPass() {
+Pass *llvm::createRaisePointerReferencesPass() {
return new RPR();
}
@@ -614,4 +612,3 @@ bool RPR::runOnFunction(Function &F) {
return Changed;
}
-} // End llvm namespace