clang API Documentation
#include <Job.h>

Public Types | |
| enum | JobClass { CommandClass, FallbackCommandClass, JobListClass } |
Public Member Functions | |
| virtual | ~Job () |
| JobClass | getKind () const |
| virtual void | Print (llvm::raw_ostream &OS, const char *Terminator, bool Quote, CrashReportInfo *CrashInfo=nullptr) const =0 |
Protected Member Functions | |
| Job (JobClass _Kind) | |
| clang::driver::Job::Job | ( | JobClass | _Kind | ) | [inline, protected] |
| JobClass clang::driver::Job::getKind | ( | ) | const [inline] |
Definition at line 56 of file Job.h.
Referenced by clang::driver::Command::classof(), clang::driver::FallbackCommand::classof(), and clang::driver::JobList::classof().
| virtual void clang::driver::Job::Print | ( | llvm::raw_ostream & | OS, |
| const char * | Terminator, | ||
| bool | Quote, | ||
| CrashReportInfo * | CrashInfo = nullptr |
||
| ) | const [pure virtual] |
Print - Print this Job in -### format.
| OS | - The stream to print on. |
| Terminator | - A string to print at the end of the line. |
| Quote | - Should separate arguments be quoted. |
| CrashInfo | - Details for inclusion in a crash report. |
Implemented in clang::driver::JobList, clang::driver::FallbackCommand, and clang::driver::Command.
Referenced by clang::driver::JobList::Print().