mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-11 23:25:15 +00:00
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:
parent
86ca12988a
commit
65a392ebea
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user