clang API Documentation
#include <Tools.h>
Public Member Functions | |
Compile (const ToolChain &TC) | |
bool | hasIntegratedAssembler () const override |
bool | hasIntegratedCPP () const override |
bool | isLinkJob () const override |
void | ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const override |
std::unique_ptr< Command > | GetCommand (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const |
clang::driver::tools::visualstudio::Compile::Compile | ( | const ToolChain & | TC | ) | [inline] |
void visualstudio::Compile::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 7987 of file Tools.cpp.
References clang::driver::Compilation::addCommand().
std::unique_ptr< Command > visualstudio::Compile::GetCommand | ( | Compilation & | C, |
const JobAction & | JA, | ||
const InputInfo & | Output, | ||
const InputInfoList & | Inputs, | ||
const llvm::opt::ArgList & | TCArgs, | ||
const char * | LinkingOutput | ||
) | const |
Definition at line 7995 of file Tools.cpp.
References FindVisualStudioExecutable(), clang::driver::Driver::getClangProgramPath(), clang::driver::InputInfo::getFilename(), clang::driver::InputInfo::getInputArg(), and clang::driver::InputInfo::getType().
bool clang::driver::tools::visualstudio::Compile::hasIntegratedAssembler | ( | ) | const [inline, override, virtual] |
Reimplemented from clang::driver::Tool.
bool clang::driver::tools::visualstudio::Compile::hasIntegratedCPP | ( | ) | const [inline, override, virtual] |
Implements clang::driver::Tool.
bool clang::driver::tools::visualstudio::Compile::isLinkJob | ( | ) | const [inline, override, virtual] |
Reimplemented from clang::driver::Tool.