aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Driver/Job.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Driver/Job.h')
-rw-r--r--include/clang/Driver/Job.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Driver/Job.h b/include/clang/Driver/Job.h
index f2b6357dfb..367955f59f 100644
--- a/include/clang/Driver/Job.h
+++ b/include/clang/Driver/Job.h
@@ -97,6 +97,9 @@ public:
/// Add a job to the list (taking ownership).
void addJob(Job *J) { Jobs.push_back(J); }
+ /// Clear the job list.
+ void clear();
+
const list_type &getJobs() const { return Jobs; }
size_type size() const { return Jobs.size(); }