Finegrainify namespacification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-06-02 04:28:06 +00:00
parent fd0f7b1131
commit e25738cab6
2 changed files with 3 additions and 6 deletions

View File

@ -20,9 +20,9 @@
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/InstVisitor.h"
using namespace llvm;
namespace llvm {
struct SelectionDAGBuilder : public InstVisitor<SelectionDAGBuilder> {
// DAG - the current dag we are building.
SelectionDAG &DAG;
@ -72,6 +72,7 @@ private:
SelectionDAGNode *addSeqNode(SelectionDAGNode *N);
};
} // end llvm namespace
/// addSeqNode - The same as addNode, but the node is also included in the
/// sequence nodes for this block. This method should be called for any
@ -273,4 +274,3 @@ SelectionDAG::SelectionDAG(MachineFunction &f, const TargetMachine &tm,
Root = SDB.CurRoot;
}
} // End llvm namespace

View File

@ -14,8 +14,7 @@
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/Type.h"
namespace llvm {
using namespace llvm;
SelectionDAG::~SelectionDAG() {
for (unsigned i = 0, e = AllNodes.size(); i != e; ++i)
@ -128,5 +127,3 @@ void SelectionDAGNode::printit(unsigned Offset, unsigned &LastID,
std::cerr << "\n";
}
} // End llvm namespace