diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-13 23:08:03 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-13 23:08:03 +0000 |
commit | 3f261ff66bf346a3c7df15114966dc127f4164e6 (patch) | |
tree | 80e9ec976dfa2357a350ca567cc14fb449ea189b /clang/lib/Driver/Action.cpp | |
parent | a4ac73553175d089cfe7fdb6a87d40140b6ca8a2 (diff) | |
download | bcm5719-llvm-3f261ff66bf346a3c7df15114966dc127f4164e6.tar.gz bcm5719-llvm-3f261ff66bf346a3c7df15114966dc127f4164e6.zip |
Driver: Provide food and shelter for Action vtables.
llvm-svn: 66978
Diffstat (limited to 'clang/lib/Driver/Action.cpp')
-rw-r--r-- | clang/lib/Driver/Action.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/clang/lib/Driver/Action.cpp b/clang/lib/Driver/Action.cpp index 0ffc8f0f64f..d4cdb13527a 100644 --- a/clang/lib/Driver/Action.cpp +++ b/clang/lib/Driver/Action.cpp @@ -30,3 +30,47 @@ const char *Action::getClassName(ActionClass AC) { assert(0 && "invalid class"); return 0; } + +InputAction::InputAction(const Arg &_Input, types::ID _Type) + : Action(InputClass, _Type), Input(_Input) { +} + +BindArchAction::BindArchAction(Action *Input, const char *_ArchName) + : Action(BindArchClass, Input, Input->getType()), ArchName(_ArchName) { +} + +JobAction::JobAction(ActionClass Kind, Action *Input, types::ID Type) + : Action(Kind, Input, Type) { +} + +JobAction::JobAction(ActionClass Kind, const ActionList &Inputs, types::ID Type) + : Action(Kind, Inputs, Type) { +} + +PreprocessJobAction::PreprocessJobAction(Action *Input, types::ID OutputType) + : JobAction(PreprocessJobClass, Input, OutputType) { +} + +PrecompileJobAction::PrecompileJobAction(Action *Input, types::ID OutputType) + : JobAction(PrecompileJobClass, Input, OutputType) { +} + +AnalyzeJobAction::AnalyzeJobAction(Action *Input, types::ID OutputType) + : JobAction(AnalyzeJobClass, Input, OutputType) { +} + +CompileJobAction::CompileJobAction(Action *Input, types::ID OutputType) + : JobAction(CompileJobClass, Input, OutputType) { +} + +AssembleJobAction::AssembleJobAction(Action *Input, types::ID OutputType) + : JobAction(AssembleJobClass, Input, OutputType) { +} + +LinkJobAction::LinkJobAction(ActionList &Inputs, types::ID Type) + : JobAction(LinkJobClass, Inputs, Type) { +} + +LipoJobAction(ActionList &Inputs, types::ID Type) + : JobAction(LipoJobClass, Inputs, Type) { +} |