clang API Documentation
#include <Tools.h>


Public Member Functions | |
| Common (const char *Name, const char *ShortName, const ToolChain &TC) | |
| void | ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const override |
| virtual void | RenderExtraToolArgs (const JobAction &JA, llvm::opt::ArgStringList &CmdArgs) const =0 |
| clang::driver::tools::gcc::Common::Common | ( | const char * | Name, |
| const char * | ShortName, | ||
| const ToolChain & | TC | ||
| ) | [inline] |
| void gcc::Common::ConstructJob | ( | Compilation & | C, |
| const JobAction & | JA, | ||
| const InputInfo & | Output, | ||
| const InputInfoList & | Inputs, | ||
| const llvm::opt::ArgList & | TCArgs, | ||
| const char * | LinkingOutput | ||
| ) | const [override, virtual] |
ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C.
| TCArgs | - The argument list for this toolchain, with any tool chain specific translations applied. |
| LinkingOutput | - If this output will eventually feed the linker, then this is the final output name of the linked image. |
Implements clang::driver::Tool.
Definition at line 4954 of file Tools.cpp.
References clang::driver::Compilation::addCommand(), clang::driver::types::canTypeBeUserSpecified(), clang::driver::Driver::CCCIsCXX(), clang::driver::Driver::Diag(), forwardToGCC(), clang::driver::Driver::getCCCGenericGCCName(), clang::driver::InputInfo::getFilename(), clang::driver::types::getTypeName(), clang::driver::InputInfo::isFilename(), and clang::driver::InputInfo::isNothing().
| virtual void clang::driver::tools::gcc::Common::RenderExtraToolArgs | ( | const JobAction & | JA, |
| llvm::opt::ArgStringList & | CmdArgs | ||
| ) | const [pure virtual] |
RenderExtraToolArgs - Render any arguments necessary to force the particular tool mode.
Implemented in clang::driver::tools::gcc::Link, clang::driver::tools::gcc::Compile, and clang::driver::tools::gcc::Preprocess.