Remove opt namespace
authorChris Lattner <sabre@nondot.org>
Sat, 26 Jan 2002 22:47:07 +0000 (22:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 26 Jan 2002 22:47:07 +0000 (22:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1587 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Scalar/InductionVars.h
lib/Transforms/Scalar/InductionVars.cpp

index 146239d82bf3b51022990093a46528bcef6f27c8..4faf3458f6698022f64a80a2108e0e6ca8d3237b 100644 (file)
@@ -10,8 +10,6 @@
 
 #include "llvm/Pass.h"
 
-namespace opt {
-
 struct InductionVariableCannonicalize : public MethodPass {
   // doInductionVariableCannonicalize - Simplify induction variables in loops
   //
@@ -22,6 +20,4 @@ struct InductionVariableCannonicalize : public MethodPass {
   }
 };
 
-}  // end namespace opt
-
 #endif
index cab778e025b529127d7e7a36e21d9a80fd13d046..6d7df4169b69744e24ca32615201b9d590e1df25 100644 (file)
@@ -32,8 +32,6 @@ using std::cerr;
 
 #include "llvm/Analysis/LoopDepth.h"
 
-using namespace opt;
-
 // isLoopInvariant - Return true if the specified value/basic block source is 
 // an interval invariant computation.
 //
@@ -373,7 +371,7 @@ static bool ProcessIntervalPartition(cfg::IntervalPartition &IP) {
 // This function loops over an interval partition of a program, reducing it
 // until the graph is gone.
 //
-bool opt::InductionVariableCannonicalize::doIt(Method *M) {
+bool InductionVariableCannonicalize::doIt(Method *M) {
   // TODO: REMOVE
   if (0) {   // Print basic blocks with their depth
     LoopDepthCalculator LDC(M);