[llvm-commits] CVS: llvm/lib/Support/GraphWriter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jul 28 15:21:16 PDT 2006
Changes in directory llvm/lib/Support:
GraphWriter.cpp updated: 1.1 -> 1.2
---
Log message:
Finegrainify namespacification, minor cleanups
---
Diffs of the changes: (+2 -8)
GraphWriter.cpp | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
Index: llvm/lib/Support/GraphWriter.cpp
diff -u llvm/lib/Support/GraphWriter.cpp:1.1 llvm/lib/Support/GraphWriter.cpp:1.2
--- llvm/lib/Support/GraphWriter.cpp:1.1 Tue Jun 27 11:49:46 2006
+++ llvm/lib/Support/GraphWriter.cpp Fri Jul 28 17:21:01 2006
@@ -11,18 +11,14 @@
//
//===----------------------------------------------------------------------===//
+#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 @@
Filename.eraseFromDisk();
}
-
-} // End llvm namespace
More information about the llvm-commits
mailing list