Finegrainify namespacification, minor cleanups
authorChris Lattner <sabre@nondot.org>
Fri, 28 Jul 2006 22:21:01 +0000 (22:21 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 28 Jul 2006 22:21:01 +0000 (22:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29399 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/GraphWriter.cpp

index 73126e29258c76c579ada9c8723604f37f50aecf..f3255d815c6c7659934069dba8c1419686c629a8 100644 (file)
 //
 //===----------------------------------------------------------------------===//
 
+#include "llvm/Support/GraphWriter.h"
 #include "llvm/System/Path.h"
 #include "llvm/System/Program.h"
 #include "llvm/Config/config.h"
-
 #include <iostream>
-
 using namespace llvm;
 
-namespace llvm {
-
-void DisplayGraph(const sys::Path& Filename)
-{
+void llvm::DisplayGraph(const sys::Path &Filename) {
 #if HAVE_GRAPHVIZ
   sys::Path Graphviz(LLVM_PATH_GRAPHVIZ);
 
@@ -85,5 +81,3 @@ void DisplayGraph(const sys::Path& Filename)
   
   Filename.eraseFromDisk();
 }
-
-} // End llvm namespace