clang API Documentation

Public Member Functions | Static Public Member Functions
clang::driver::Command Class Reference

#include <Job.h>

Inheritance diagram for clang::driver::Command:
Inheritance graph
[legend]
Collaboration diagram for clang::driver::Command:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Command (const Action &_Source, const Tool &_Creator, const char *_Executable, const ArgStringList &_Arguments)
const ActiongetSource () const
 getSource - Return the Action which caused the creation of this job.
const ToolgetCreator () const
 getCreator - Return the Tool which caused the creation of this job.
const char * getExecutable () const
const ArgStringListgetArguments () const

Static Public Member Functions

static bool classof (const Job *J)
static bool classof (const Command *)

Detailed Description

Command - An executable path/name and argument vector to execute.

Definition at line 48 of file Job.h.


Constructor & Destructor Documentation

Command::Command ( const Action _Source,
const Tool _Creator,
const char *  _Executable,
const ArgStringList _Arguments 
)

Definition at line 21 of file Job.cpp.


Member Function Documentation

static bool clang::driver::Command::classof ( const Job J) [inline, static]

Reimplemented from clang::driver::Job.

Definition at line 78 of file Job.h.

References clang::driver::Job::CommandClass, and clang::driver::Job::getKind().

static bool clang::driver::Command::classof ( const Command ) [inline, static]

Definition at line 81 of file Job.h.

const ArgStringList& clang::driver::Command::getArguments ( ) const [inline]
const Tool& clang::driver::Command::getCreator ( ) const [inline]
const char* clang::driver::Command::getExecutable ( ) const [inline]

Definition at line 74 of file Job.h.

Referenced by clang::driver::Compilation::ExecuteCommand().

const Action& clang::driver::Command::getSource ( ) const [inline]

getSource - Return the Action which caused the creation of this job.

Definition at line 69 of file Job.h.


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