aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Driver/Compilation.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-18 06:49:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-18 06:49:39 +0000
commit24b5560b6ea51b8a260194710468fa060775fc01 (patch)
tree48bb5aa371eed605edf84803e7ed8f40f69863b7 /include/clang/Driver/Compilation.h
parentcfcb96f610d6354234e8c33f3a25e340f6cd3a80 (diff)
Driver: Implement -### (hard to tell, since we don't actually
construct any jobs). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67177 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Compilation.h')
-rw-r--r--include/clang/Driver/Compilation.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/clang/Driver/Compilation.h b/include/clang/Driver/Compilation.h
index 91e6dc6f44..566bc5e0ca 100644
--- a/include/clang/Driver/Compilation.h
+++ b/include/clang/Driver/Compilation.h
@@ -15,6 +15,10 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
+namespace llvm {
+ class raw_ostream;
+}
+
namespace clang {
namespace driver {
class ArgList;
@@ -80,6 +84,15 @@ public:
/// Execute - Execute the compilation jobs and return an
/// appropriate exit code.
int Execute() const;
+
+private:
+ /// PrintJob - Print one job in -### format.
+ ///
+ /// 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;
};
} // end namespace driver