I was going to update the comment referring to PipedJob, which was removed
some time ago, but then it turned out that this method is not actually used
at all.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190171
91177308-0d34-0410-b5e6-
96231b3b80d8
virtual ~Job();
JobClass getKind() const { return Kind; }
-
- /// addCommand - Append a command to the current job, which must be
- /// either a piped job or a job list.
- void addCommand(Command *C);
};
/// Command - An executable path/name and argument vector to
void JobList::clear() {
DeleteContainerPointers(Jobs);
}
-
-void Job::addCommand(Command *C) {
- cast<JobList>(this)->addJob(C);
-}
-