class Command;
class Tool;
+// Users of this class will use clang::driver::ArgStringList.
+typedef llvm::opt::ArgStringList ArgStringList;
+
class Job {
public:
enum JobClass {
/// The list of program arguments (not including the implicit first
/// argument, which will be the executable).
- llvm::opt::ArgStringList Arguments;
+ ArgStringList Arguments;
public:
Command(const Action &_Source, const Tool &_Creator, const char *_Executable,
- const llvm::opt::ArgStringList &_Arguments);
+ const ArgStringList &_Arguments);
virtual void Print(llvm::raw_ostream &OS, const char *Terminator,
bool Quote, bool CrashReport = false) const;
/// getCreator - Return the Tool which caused the creation of this job.
const Tool &getCreator() const { return Creator; }
- const llvm::opt::ArgStringList &getArguments() const { return Arguments; }
+ const ArgStringList &getArguments() const { return Arguments; }
static bool classof(const Job *J) {
return J->getKind() == CommandClass;