aboutsummaryrefslogtreecommitdiff
path: root/tools/llvmc/CompilerDriver.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-16 07:06:38 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-16 07:06:38 +0000
commit2a069fa0034e974481307916ccfea6c0e625b956 (patch)
treec5822ae2083e21b231be4b19674fc97e818ea6e6 /tools/llvmc/CompilerDriver.h
parent6964e3f57db6210930db6595f3e91c86d754b9e5 (diff)
Back out dependencies on lib/System/Path.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/CompilerDriver.h')
-rw-r--r--tools/llvmc/CompilerDriver.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/llvmc/CompilerDriver.h b/tools/llvmc/CompilerDriver.h
index da2a8f1a31..0914feca4c 100644
--- a/tools/llvmc/CompilerDriver.h
+++ b/tools/llvmc/CompilerDriver.h
@@ -14,7 +14,6 @@
#ifndef LLVM_TOOLS_LLVMC_COMPILERDRIVER_H
#define LLVM_TOOLS_LLVMC_COMPILERDRIVER_H
-#include "llvm/System/Path.h"
#include <string>
#include <vector>
@@ -66,7 +65,7 @@ namespace llvm {
/// a vector of filename/filetype pairs. The filetype is used to look up
/// the configuration of the actions to be taken by the driver.
/// @brief The Input Data to the execute method
- typedef std::vector<std::pair<sys::Path,std::string> > InputList;
+ typedef std::vector<std::pair<std::string,std::string> > InputList;
/// This type is read from configuration files or otherwise provided to
/// the CompilerDriver through a "ConfigDataProvider". It serves as both
@@ -75,7 +74,7 @@ namespace llvm {
/// language.
struct Action {
Action() : inputAt(0) , outputAt(0), flags(0) {}
- sys::Path program; ///< The program to execve
+ std::string program; ///< The program to execve
StringVector args; ///< Arguments to the program
size_t inputAt; ///< Argument index to insert input file
size_t outputAt; ///< Argument index to insert output file
@@ -122,7 +121,7 @@ namespace llvm {
virtual void error(const std::string& errmsg);
/// @brief Execute the actions requested for the given input list.
- virtual int execute(const InputList& list, const sys::Path& output);
+ virtual int execute(const InputList& list, const std::string& output);
/// @}
/// @name Mutators