Finegrainify namespacification, minor cleanups

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29399 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-07-28 22:21:01 +00:00
parent 86ca12988a
commit 65a392ebea

View File

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