diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:08:59 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:08:59 +0000 |
commit | be9d9a153f7c26b2c450b4f33487c81e02b8cf36 (patch) | |
tree | 278dc136a4a7adb1bb2c12f16f6c89256a4ce195 /tools/llvmc2/CompilationGraph.h | |
parent | f7bab8c7433d1d1e8393a7c6dc72441f12e659f2 (diff) |
Add output redirection, rename namespace llvmcc to namespace llvmc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50746 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc2/CompilationGraph.h')
-rw-r--r-- | tools/llvmc2/CompilationGraph.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/llvmc2/CompilationGraph.h b/tools/llvmc2/CompilationGraph.h index dc388d0fa7..7d949e6d4f 100644 --- a/tools/llvmc2/CompilationGraph.h +++ b/tools/llvmc2/CompilationGraph.h @@ -26,7 +26,7 @@ #include <string> -namespace llvmcc { +namespace llvmc { // An edge in the graph. class Edge : public llvm::RefCountedBaseVPTR<Edge> { @@ -255,10 +255,10 @@ namespace llvmcc { namespace llvm { template <> - struct GraphTraits<llvmcc::CompilationGraph*> { - typedef llvmcc::CompilationGraph GraphType; - typedef llvmcc::Node NodeType; - typedef llvmcc::NodeChildIterator ChildIteratorType; + struct GraphTraits<llvmc::CompilationGraph*> { + typedef llvmc::CompilationGraph GraphType; + typedef llvmc::Node NodeType; + typedef llvmc::NodeChildIterator ChildIteratorType; static NodeType* getEntryNode(GraphType* G) { return &G->getNode("root"); @@ -271,7 +271,7 @@ namespace llvm { return ChildIteratorType(N, N->OutEdges.end()); } - typedef llvmcc::NodesIterator nodes_iterator; + typedef llvmc::NodesIterator nodes_iterator; static nodes_iterator nodes_begin(GraphType *G) { return GraphBegin(G); } |