clang 20.0.0git
|
JobList - A sequence of jobs to perform. More...
#include "clang/Driver/Job.h"
Public Types | |
using | list_type = SmallVector< std::unique_ptr< Command >, 4 > |
using | size_type = list_type::size_type |
using | iterator = llvm::pointee_iterator< list_type::iterator > |
using | const_iterator = llvm::pointee_iterator< list_type::const_iterator > |
Public Member Functions | |
void | Print (llvm::raw_ostream &OS, const char *Terminator, bool Quote, CrashReportInfo *CrashInfo=nullptr) const |
void | addJob (std::unique_ptr< Command > J) |
Add a job to the list (taking ownership). | |
void | clear () |
Clear the job list. | |
const list_type & | getJobs () const |
bool | empty () const |
size_type | size () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
using clang::driver::JobList::const_iterator = llvm::pointee_iterator<list_type::const_iterator> |
using clang::driver::JobList::iterator = llvm::pointee_iterator<list_type::iterator> |
using clang::driver::JobList::list_type = SmallVector<std::unique_ptr<Command>, 4> |
using clang::driver::JobList::size_type = list_type::size_type |
|
inline |
Add a job to the list (taking ownership).
Definition at line 277 of file Job.h.
Referenced by clang::driver::Compilation::addCommand().
|
inline |
void JobList::clear | ( | ) |
Clear the job list.
Definition at line 459 of file Job.cpp.
Referenced by clang::driver::Compilation::initCompilationForDiagnostics().
|
inline |
Definition at line 288 of file Job.h.
Referenced by clang::createInvocation().
|
inline |
|
inline |
Definition at line 282 of file Job.h.
Referenced by stripPositionalArgs().
void JobList::Print | ( | llvm::raw_ostream & | OS, |
const char * | Terminator, | ||
bool | Quote, | ||
CrashReportInfo * | CrashInfo = nullptr |
||
) | const |
Definition at line 453 of file Job.cpp.
Referenced by clang::createInvocation(), and clang::tooling::getCC1Arguments().
|
inline |
Definition at line 285 of file Job.h.
Referenced by clang::createInvocation(), and ignoreExtraCC1Commands().