diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2009-06-27 10:44:33 +0000 | 
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-27 10:44:33 +0000 | 
| commit | f859468f5a21b6952ab62917777f9fb3bba57003 (patch) | |
| tree | 9794dc36f22f2a2b3f8063829d8a9b3a7794acc8 /lib/CompilerDriver/CompilationGraph.cpp | |
| parent | f76359690a7035ad21498f2ba6be6991d3b2032d (diff) | |
Notes
Diffstat (limited to 'lib/CompilerDriver/CompilationGraph.cpp')
| -rw-r--r-- | lib/CompilerDriver/CompilationGraph.cpp | 8 | 
1 files changed, 3 insertions, 5 deletions
| diff --git a/lib/CompilerDriver/CompilationGraph.cpp b/lib/CompilerDriver/CompilationGraph.cpp index dece4e8e0ae33..1212a219b09ee 100644 --- a/lib/CompilerDriver/CompilationGraph.cpp +++ b/lib/CompilerDriver/CompilationGraph.cpp @@ -11,11 +11,11 @@  //  //===----------------------------------------------------------------------===// +#include "llvm/CompilerDriver/BuiltinOptions.h"  #include "llvm/CompilerDriver/CompilationGraph.h"  #include "llvm/CompilerDriver/Error.h"  #include "llvm/ADT/STLExtras.h" -#include "llvm/Support/CommandLine.h"  #include "llvm/Support/DOTGraphTraits.h"  #include "llvm/Support/GraphWriter.h" @@ -30,9 +30,6 @@  using namespace llvm;  using namespace llvmc; -extern cl::list<std::string> InputFilenames; -extern cl::list<std::string> Languages; -  namespace llvmc {    const std::string& LanguageMap::GetLanguage(const sys::Path& File) const { @@ -477,7 +474,8 @@ namespace llvm {    {      template<typename GraphType> -    static std::string getNodeLabel(const Node* N, const GraphType&) +    static std::string getNodeLabel(const Node* N, const GraphType&, +                                    bool ShortNames)      {        if (N->ToolPtr)          if (N->ToolPtr->IsJoin()) | 
