aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Driver/Compilation.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-18 22:44:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-18 22:44:24 +0000
commit49b98e700e300b8a61b2f7fbb0bb22264e8ec27a (patch)
tree745e768b6312615212b3dd4ab2a7e236293a6097 /include/clang/Driver/Compilation.h
parent38e24c782c17b6058bf61d635747bbde19fb1bc7 (diff)
Driver: Execute jobs; no pipe support yet.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Compilation.h')
-rw-r--r--include/clang/Driver/Compilation.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/clang/Driver/Compilation.h b/include/clang/Driver/Compilation.h
index ec47d030e7..eaa57914b8 100644
--- a/include/clang/Driver/Compilation.h
+++ b/include/clang/Driver/Compilation.h
@@ -105,8 +105,14 @@ private:
/// OS - The stream to print on.
/// J - The job to print.
/// Terminator - A string to print at the end of the line.
- void PrintJob(llvm::raw_ostream &OS, const Job *J,
- const char *Terminator) const;
+ /// Quote - Should separate arguments be quoted.
+ void PrintJob(llvm::raw_ostream &OS, const Job &J,
+ const char *Terminator, bool Quote) const;
+
+ /// ExecuteJob - Execute a single job.
+ ///
+ /// \return The accumulated result code of the job.
+ int ExecuteJob(const Job &J) const;
};
} // end namespace driver