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 | 313c29126908bc9154f23e371b43ceea2924d653 (patch) | |
| tree | 072a376312d3c396915c0a3e3a8f4fb562c50066 /clang/lib | |
| parent | 5469f29aa92e30ab48d350ad9bd43b8fc9edd445 (diff) | |
| download | bcm5719-llvm-313c29126908bc9154f23e371b43ceea2924d653.tar.gz bcm5719-llvm-313c29126908bc9154f23e371b43ceea2924d653.zip | |
Driver: Add simple Job classes, simple wrappers for information about
what processes to execute during a compilation.
llvm-svn: 66985
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Driver/Job.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/clang/lib/Driver/Job.cpp b/clang/lib/Driver/Job.cpp new file mode 100644 index 00000000000..3cc8b291785 --- /dev/null +++ b/clang/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) {} |

