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, |
std::unique_ptr< Action > | Input, | ||
types::ID | _Type | ||
) | [inline, protected] |
clang::driver::Action::Action | ( | ActionClass | _Kind, |
std::unique_ptr< Action > | Input | ||
) | [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 99 of file Action.h.
Referenced by ActionFailed(), ContainsCompileOrAssembleAction(), PrintActions1(), and clang::driver::Driver::ShouldUseClangCompiler().
const_iterator clang::driver::Action::begin | ( | ) | const [inline] |
iterator clang::driver::Action::end | ( | ) | [inline] |
Definition at line 100 of file Action.h.
Referenced by ActionFailed(), ContainsCompileOrAssembleAction(), and PrintActions1().
const_iterator clang::driver::Action::end | ( | ) | const [inline] |
const char * Action::getClassName | ( | ActionClass | AC | ) | [static] |
Definition at line 23 of file Action.cpp.
const char* clang::driver::Action::getClassName | ( | ) | const [inline] |
ActionList& clang::driver::Action::getInputs | ( | ) | [inline] |
Definition at line 94 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 91 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::VerifyDebugInfoJobAction::classof(), clang::driver::VerifyPCHJobAction::classof(), clang::driver::tools::ClangAs::ConstructJob(), clang::driver::tools::darwin::Assemble::ConstructJob(), getClassName(), PrintActions1(), clang::driver::ToolChain::SelectTool(), and clang::tooling::stripPositionalArgs().
bool clang::driver::Action::getOwnsInputs | ( | ) | [inline] |
types::ID clang::driver::Action::getType | ( | ) | const [inline] |
Definition at line 92 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::Assemble::ConstructJob(), clang::driver::Driver::GetNamedOutputPath(), PrintActions1(), and clang::driver::tools::gcc::Compile::RenderExtraToolArgs().
void clang::driver::Action::setOwnsInputs | ( | bool | Value | ) | [inline] |
size_type clang::driver::Action::size | ( | ) | const [inline] |
Definition at line 97 of file Action.h.
Referenced by clang::driver::Driver::ShouldUseClangCompiler().