clang
3.7.0
|
#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 |
bool | getOwnsInputs () |
void | setOwnsInputs (bool Value) |
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, std::unique_ptr< Action > Input, types::ID Type) | |
Action (ActionClass Kind, std::unique_ptr< Action > Input) | |
Action (ActionClass Kind, const ActionList &Inputs, types::ID 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.
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 |
|
inlineprotected |
|
inlineprotected |
|
virtual |
Definition at line 16 of file Action.cpp.
|
inline |
Definition at line 102 of file Action.h.
Referenced by ActionFailed(), clang::driver::Driver::BuildJobsForAction(), ContainsCompileOrAssembleAction(), and clang::driver::Driver::ShouldUseClangCompiler().
|
inline |
|
inline |
Definition at line 103 of file Action.h.
Referenced by ActionFailed(), and ContainsCompileOrAssembleAction().
|
inline |
|
static |
Definition at line 23 of file Action.cpp.
|
inline |
|
inline |
Definition at line 97 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 94 of file Action.h.
Referenced by 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(), getClassName(), PrintActions1(), clang::driver::ToolChain::SelectTool(), and clang::driver::toolchains::SHAVEToolChain::SelectTool().
|
inline |
Definition at line 95 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::Assembler::ConstructJob(), clang::driver::Driver::GetNamedOutputPath(), PrintActions1(), and clang::driver::tools::gcc::Compiler::RenderExtraToolArgs().
|
inline |
|
inline |
Definition at line 100 of file Action.h.
Referenced by clang::driver::Driver::ShouldUseClangCompiler().