diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-13 23:36:33 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-13 23:36:33 +0000 |
commit | 789e220d481371d52bd6265b5c414c5fe277f76b (patch) | |
tree | eaf1a8c8712f66ffbd988d299b1c960f5a8cb04d /lib/Driver/Job.cpp | |
parent | 7f28a9c37e67ae16396042ad9c085830969daf29 (diff) |
Driver: Add simple Job classes, simple wrappers for information about
what processes to execute during a compilation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Job.cpp')
-rw-r--r-- | lib/Driver/Job.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/Driver/Job.cpp b/lib/Driver/Job.cpp new file mode 100644 index 0000000000..3cc8b29178 --- /dev/null +++ b/lib/Driver/Job.cpp @@ -0,0 +1,23 @@ +//===--- Job.cpp - Command to Execute -----------------------------------*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "clang/Driver/Job.h" + +#include <cassert> +using namespace clang::driver; + +Job::~Job() {} + +Command::Command(const char *_Executable, const ArgStringList &_Argv) + : Job(CommandClass), Executable(_Executable), Argv(_Argv) { +} + +PipedJob::PipedJob() : Job(PipedJobClass) {} + +JobList::JobList() : Job(JobListClass) {} |