clang API Documentation

Public Member Functions
clang::driver::tools::gcc::Common Class Reference

#include <Tools.h>

Inheritance diagram for clang::driver::tools::gcc::Common:
Inheritance graph
[legend]
Collaboration diagram for clang::driver::tools::gcc::Common:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 134 of file Tools.h.


Constructor & Destructor Documentation

clang::driver::tools::gcc::Common::Common ( const char *  Name,
const char *  ShortName,
const ToolChain TC 
) [inline]

Definition at line 136 of file Tools.h.


Member Function Documentation

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.

Parameters:
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.


The documentation for this class was generated from the following files: