clang API Documentation

Public Types | Public Member Functions | Protected Member Functions
clang::driver::Job Class Reference

#include <Job.h>

Inheritance diagram for clang::driver::Job:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

Definition at line 40 of file Job.h.


Member Enumeration Documentation

Enumerator:
CommandClass 
FallbackCommandClass 
JobListClass 

Definition at line 42 of file Job.h.


Constructor & Destructor Documentation

clang::driver::Job::Job ( JobClass  _Kind) [inline, protected]

Definition at line 52 of file Job.h.

Job::~Job ( ) [virtual]

Definition at line 28 of file Job.cpp.


Member Function Documentation

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.

Parameters:
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().


The documentation for this class was generated from the following files: