summaryrefslogtreecommitdiffstats
path: root/include/clang/Driver/Compilation.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-19 08:01:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-19 08:01:45 +0000
commitceafbc8f55e00345a85d5e6674d3339a45cbbf76 (patch)
tree130b046001a0390f0dd6179818f5aeb4538ec092 /include/clang/Driver/Compilation.h
parent05494a78c3746a360e81fc1d1797ce52df415b54 (diff)
Driver: Executing piped jobs with a single command is easy.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Compilation.h')
-rw-r--r--include/clang/Driver/Compilation.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Driver/Compilation.h b/include/clang/Driver/Compilation.h
index eaa57914b8..1a6d7b02ea 100644
--- a/include/clang/Driver/Compilation.h
+++ b/include/clang/Driver/Compilation.h
@@ -109,6 +109,11 @@ private:
void PrintJob(llvm::raw_ostream &OS, const Job &J,
const char *Terminator, bool Quote) const;
+ /// ExecuteCommand - Execute an actual command.
+ ///
+ /// \return The result code of the subprocess.
+ int ExecuteCommand(const Command &C) const;
+
/// ExecuteJob - Execute a single job.
///
/// \return The accumulated result code of the job.