clang API Documentation
#include <Action.h>

Action - Represent an abstract compilation step to perform.
An action represents an edge in the compilation graph; typically it is a job to transform an input using some tool.
The current driver is hard wired to expect actions which produce a single primary output, at least in terms of controlling the compilation. Actions can produce auxiliary files, but can only produce a single output to feed into subsequent actions.
| typedef ActionList::const_iterator clang::driver::Action::const_iterator |
| typedef ActionList::iterator clang::driver::Action::iterator |
| typedef ActionList::size_type clang::driver::Action::size_type |
| clang::driver::Action::Action | ( | ActionClass | _Kind, |
| types::ID | _Type | ||
| ) | [inline, protected] |
| clang::driver::Action::Action | ( | ActionClass | _Kind, |
| Action * | Input, | ||
| types::ID | _Type | ||
| ) | [inline, protected] |
| clang::driver::Action::Action | ( | ActionClass | _Kind, |
| const ActionList & | _Inputs, | ||
| types::ID | _Type | ||
| ) | [inline, protected] |
| Action::~Action | ( | ) | [virtual] |
Definition at line 16 of file Action.cpp.
| iterator clang::driver::Action::begin | ( | ) | [inline] |
Definition at line 89 of file Action.h.
Referenced by ContainsCompileAction(), ContainsCompileOrAssembleAction(), PrintActions1(), clang::driver::Driver::ShouldUseClangCompiler(), and ~Action().
| const_iterator clang::driver::Action::begin | ( | ) | const [inline] |
| static bool clang::driver::Action::classof | ( | const Action * | ) | [inline, static] |
Reimplemented in clang::driver::VerifyJobAction, clang::driver::DsymutilJobAction, clang::driver::LipoJobAction, clang::driver::LinkJobAction, clang::driver::AssembleJobAction, clang::driver::CompileJobAction, clang::driver::MigrateJobAction, clang::driver::AnalyzeJobAction, clang::driver::PrecompileJobAction, clang::driver::PreprocessJobAction, clang::driver::JobAction, clang::driver::BindArchAction, and clang::driver::InputAction.
| iterator clang::driver::Action::end | ( | ) | [inline] |
Definition at line 90 of file Action.h.
Referenced by ContainsCompileAction(), ContainsCompileOrAssembleAction(), PrintActions1(), and ~Action().
| const_iterator clang::driver::Action::end | ( | ) | const [inline] |
| const char * Action::getClassName | ( | ActionClass | AC | ) | [static] |
Definition at line 23 of file Action.cpp.
References AnalyzeJobClass, AssembleJobClass, BindArchClass, CompileJobClass, DsymutilJobClass, InputClass, LinkJobClass, LipoJobClass, MigrateJobClass, PrecompileJobClass, PreprocessJobClass, and VerifyJobClass.
| const char* clang::driver::Action::getClassName | ( | ) | const [inline] |
| ActionList& clang::driver::Action::getInputs | ( | ) | [inline] |
Definition at line 84 of file Action.h.
Referenced by clang::driver::Driver::BuildJobsForAction(), clang::driver::tools::ClangAs::ConstructJob(), and clang::driver::tools::darwin::Assemble::ConstructJob().
| const ActionList& clang::driver::Action::getInputs | ( | ) | const [inline] |
| ActionClass clang::driver::Action::getKind | ( | ) | const [inline] |
Definition at line 81 of file Action.h.
Referenced by clang::driver::InputAction::classof(), clang::driver::BindArchAction::classof(), clang::driver::JobAction::classof(), clang::driver::PreprocessJobAction::classof(), clang::driver::PrecompileJobAction::classof(), clang::driver::AnalyzeJobAction::classof(), clang::driver::MigrateJobAction::classof(), clang::driver::CompileJobAction::classof(), clang::driver::AssembleJobAction::classof(), clang::driver::LinkJobAction::classof(), clang::driver::LipoJobAction::classof(), clang::driver::DsymutilJobAction::classof(), clang::driver::VerifyJobAction::classof(), clang::driver::tools::ClangAs::ConstructJob(), clang::driver::tools::darwin::Assemble::ConstructJob(), getClassName(), PrintActions1(), clang::driver::toolchains::Generic_GCC::SelectTool(), clang::driver::toolchains::Hexagon_TC::SelectTool(), clang::driver::toolchains::Darwin::SelectTool(), clang::driver::toolchains::AuroraUX::SelectTool(), clang::driver::toolchains::Solaris::SelectTool(), clang::driver::toolchains::OpenBSD::SelectTool(), clang::driver::toolchains::FreeBSD::SelectTool(), clang::driver::toolchains::NetBSD::SelectTool(), clang::driver::toolchains::Minix::SelectTool(), clang::driver::toolchains::DragonFly::SelectTool(), clang::driver::toolchains::Linux::SelectTool(), and clang::driver::toolchains::Windows::SelectTool().
| types::ID clang::driver::Action::getType | ( | ) | const [inline] |
Definition at line 82 of file Action.h.
Referenced by clang::driver::Driver::BuildJobsForAction(), clang::driver::Driver::BuildUniversalActions(), clang::driver::tools::Clang::ConstructJob(), clang::driver::tools::ClangAs::ConstructJob(), clang::driver::tools::darwin::Compile::ConstructJob(), clang::driver::tools::darwin::Assemble::ConstructJob(), clang::driver::Driver::ConstructPhaseAction(), clang::driver::Driver::GetNamedOutputPath(), PrintActions1(), clang::driver::tools::gcc::Compile::RenderExtraToolArgs(), and clang::driver::Driver::ShouldUseClangCompiler().
| void clang::driver::Action::setOwnsInputs | ( | bool | Value | ) | [inline] |
| size_type clang::driver::Action::size | ( | ) | const [inline] |
Definition at line 87 of file Action.h.
Referenced by clang::driver::Driver::ShouldUseClangCompiler().