summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-02 04:28:06 +0000
committerChris Lattner <sabre@nondot.org>2004-06-02 04:28:06 +0000
commit560b5e42ab6fd944e5069f8bf0ab4b6985a30cdc (patch)
treeb411156ad629f6f036308bfd3850e97027c31bc4 /llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp
parent71f1d6d9d8e114522da4350b58b03c7ecda0256a (diff)
downloadbcm5719-llvm-560b5e42ab6fd944e5069f8bf0ab4b6985a30cdc.tar.gz
bcm5719-llvm-560b5e42ab6fd944e5069f8bf0ab4b6985a30cdc.zip
Finegrainify namespacification
llvm-svn: 13948
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp
index d1d3c562218..470be877a39 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud