Move llvmc2 header files under include/llvm/CompilerDriver

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56466 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2008-09-22 20:50:40 +00:00
parent c82ce4a8a7
commit 4a1a77c1c9
10 changed files with 13 additions and 15 deletions

View File

@ -14,7 +14,7 @@
#ifndef LLVM_TOOLS_LLVMC2_COMPILATION_GRAPH_H
#define LLVM_TOOLS_LLVMC2_COMPILATION_GRAPH_H
#include "Tool.h"
#include "llvm/CompilerDriver/Tool.h"
#include "llvm/ADT/GraphTraits.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"

View File

@ -14,7 +14,7 @@
#ifndef LLVM_TOOLS_LLVMC2_TOOL_H
#define LLVM_TOOLS_LLVMC2_TOOL_H
#include "Action.h"
#include "llvm/CompilerDriver/Action.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/StringSet.h"

View File

@ -11,7 +11,7 @@
//
//===----------------------------------------------------------------------===//
#include "Action.h"
#include "llvm/CompilerDriver/Action.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/System/Program.h"

View File

@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===//
#include "Error.h"
#include "CompilationGraph.h"
#include "llvm/CompilerDriver/CompilationGraph.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/CommandLine.h"

View File

@ -11,7 +11,7 @@
//
//===----------------------------------------------------------------------===//
#include "Plugin.h"
#include "llvm/CompilerDriver/Plugin.h"
#include <vector>

View File

@ -14,9 +14,10 @@
//
//===----------------------------------------------------------------------===//
#include "CompilationGraph.h"
#include "Error.h"
#include "Plugin.h"
#include "llvm/CompilerDriver/CompilationGraph.h"
#include "llvm/CompilerDriver/Plugin.h"
#include "llvm/System/Path.h"
#include "llvm/Support/CommandLine.h"

View File

@ -11,11 +11,8 @@
//
//===----------------------------------------------------------------------===//
// TODO: Since llvmc2 has now gained support for plugins, its header
// files should be probably moved into LLVM include dir.
#include "../../CompilationGraph.h"
#include "../../Plugin.h"
#include "llvm/CompilerDriver/CompilationGraph.h"
#include "llvm/CompilerDriver/Plugin.h"
#include <iostream>

View File

@ -1722,9 +1722,9 @@ void EmitRegisterPlugin(std::ostream& O) {
/// EmitInclude - Emit necessary #include directives.
void EmitIncludes(std::ostream& O) {
O << "#include \"CompilationGraph.h\"\n"
<< "#include \"Plugin.h\"\n"
<< "#include \"Tool.h\"\n\n"
O << "#include \"llvm/CompilerDriver/CompilationGraph.h\"\n"
<< "#include \"llvm/CompilerDriver/Plugin.h\"\n"
<< "#include \"llvm/CompilerDriver/Tool.h\"\n\n"
<< "#include \"llvm/ADT/StringExtras.h\"\n"
<< "#include \"llvm/Support/CommandLine.h\"\n\n"