diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-02 04:28:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-02 04:28:06 +0000 |
commit | e25738cab63977282f8ebc26012142debfbd1d20 (patch) | |
tree | f78e64ffbe6eba056c0edb751c3d57d0f1b712a3 /lib/CodeGen/SelectionDAG/DAGBuilder.cpp | |
parent | fd0f7b113120a7eed61c721aa74222fa85fdd571 (diff) |
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGBuilder.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/DAGBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGBuilder.cpp b/lib/CodeGen/SelectionDAG/DAGBuilder.cpp index d1d3c56221..470be877a3 100644 --- a/lib/CodeGen/SelectionDAG/DAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/DAGBuilder.cpp @@ -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 |