diff options
author | Chris Lattner <sabre@nondot.org> | 2006-07-28 22:21:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-07-28 22:21:01 +0000 |
commit | 65a392ebeae214ccb25f4d5ec856688e4e690e0d (patch) | |
tree | 7860dfd7a318c7a80c0579d33549ccb737e399d4 | |
parent | 86ca12988a737ca0564a9c879c8c07f70fb20103 (diff) | |
download | external_llvm-65a392ebeae214ccb25f4d5ec856688e4e690e0d.zip external_llvm-65a392ebeae214ccb25f4d5ec856688e4e690e0d.tar.gz external_llvm-65a392ebeae214ccb25f4d5ec856688e4e690e0d.tar.bz2 |
Finegrainify namespacification, minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29399 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/GraphWriter.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/Support/GraphWriter.cpp b/lib/Support/GraphWriter.cpp index 73126e2..f3255d8 100644 --- a/lib/Support/GraphWriter.cpp +++ b/lib/Support/GraphWriter.cpp @@ -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 @@ void DisplayGraph(const sys::Path& Filename) Filename.eraseFromDisk(); } - -} // End llvm namespace |