|
clang
3.8.0
|
Action - Represent an abstract compilation step to perform. More...
#include <Action.h>
Public Types | |
| enum | ActionClass { InputClass = 0, BindArchClass, CudaDeviceClass, CudaHostClass, PreprocessJobClass, PrecompileJobClass, AnalyzeJobClass, MigrateJobClass, CompileJobClass, BackendJobClass, AssembleJobClass, LinkJobClass, LipoJobClass, DsymutilJobClass, VerifyDebugInfoJobClass, VerifyPCHJobClass, JobClassFirst =PreprocessJobClass, JobClassLast =VerifyPCHJobClass } |
| typedef ActionList::size_type | size_type |
| typedef ActionList::iterator | iterator |
| typedef ActionList::const_iterator | const_iterator |
Public Member Functions | |
| virtual | ~Action () |
| const char * | getClassName () const |
| ActionClass | getKind () const |
| types::ID | getType () const |
| ActionList & | getInputs () |
| const ActionList & | getInputs () const |
| size_type | size () const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
Static Public Member Functions | |
| static const char * | getClassName (ActionClass AC) |
Protected Member Functions | |
| Action (ActionClass Kind, types::ID Type) | |
| Action (ActionClass Kind, Action *Input, types::ID Type) | |
| Type (Type) | |
| Inputs (Inputs) | |
Protected Attributes | |
| Type | |
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.
Actions are usually owned by a Compilation, which creates new actions via MakeAction().
| 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 |
|
inlineprotected |
|
inlineprotected |
|
virtual |
Definition at line 18 of file Action.cpp.
|
inline |
Definition at line 101 of file Action.h.
Referenced by ActionFailed(), clang::driver::Driver::BuildJobsForAction(), selectToolForJob(), and clang::driver::Driver::ShouldUseClangCompiler().
|
inline |
|
inline |
Definition at line 102 of file Action.h.
Referenced by ActionFailed().
|
inline |
|
static |
Definition at line 20 of file Action.cpp.
|
inline |
|
inline |
Definition at line 96 of file Action.h.
Referenced by clang::driver::Driver::BuildJobsForAction(), clang::driver::tools::ClangAs::ConstructJob(), clang::driver::tools::darwin::Assembler::ConstructJob(), and PrintActions1().
|
inline |
|
inline |
Definition at line 93 of file Action.h.
Referenced by buildCudaActions(), clang::driver::InputAction::classof(), clang::driver::BindArchAction::classof(), clang::driver::CudaDeviceAction::classof(), clang::driver::CudaHostAction::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::BackendJobAction::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::Assembler::ConstructJob(), clang::driver::tools::SHAVE::Compiler::ConstructJob(), getClassName(), PrintActions1(), clang::driver::ToolChain::SelectTool(), and clang::driver::toolchains::MyriadToolChain::SelectTool().
|
inline |
Definition at line 94 of file Action.h.
Referenced by clang::driver::Driver::BuildActions(), clang::driver::Driver::BuildJobsForAction(), clang::driver::tools::Clang::ConstructJob(), clang::driver::tools::ClangAs::ConstructJob(), clang::driver::tools::darwin::Assembler::ConstructJob(), clang::driver::Driver::ConstructPhaseAction(), clang::driver::Driver::GetNamedOutputPath(), PrintActions1(), and clang::driver::tools::gcc::Compiler::RenderExtraToolArgs().
|
inline |
Definition at line 99 of file Action.h.
Referenced by clang::driver::Driver::ShouldUseClangCompiler().
|
protected |
|
protected |
1.8.6