clang API Documentation

Public Member Functions
clang::driver::tools::ClangAs Class Reference

Clang integrated assembler tool. More...

#include <Tools.h>

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

List of all members.

Public Member Functions

 ClangAs (const ToolChain &TC)
bool hasGoodDiagnostics () const override
 Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures.
bool hasIntegratedAssembler () const override
bool hasIntegratedCPP () 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

Detailed Description

Clang integrated assembler tool.

Definition at line 106 of file Tools.h.


Constructor & Destructor Documentation

Definition at line 108 of file Tools.h.


Member Function Documentation

void ClangAs::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 4813 of file Tools.cpp.

References clang::driver::Compilation::addCommand(), addDebugCompDirArg(), AttributeLangSupport::C, CollectArgsForIntegratedAssembler(), EscapeSpacesAndBackslashes(), clang::getClangFullVersion(), getCPUName(), clang::driver::InputInfo::getFilename(), clang::driver::Action::getInputs(), clang::driver::Action::getKind(), getTargetFeatures(), clang::driver::Action::getType(), Input, clang::driver::Action::InputClass, clang::driver::InputInfo::isFilename(), SplitDebugInfo(), and SplitDebugName().

bool clang::driver::tools::ClangAs::hasGoodDiagnostics ( ) const [inline, override, virtual]

Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures.

Reimplemented from clang::driver::Tool.

Definition at line 112 of file Tools.h.

bool clang::driver::tools::ClangAs::hasIntegratedAssembler ( ) const [inline, override, virtual]

Reimplemented from clang::driver::Tool.

Definition at line 113 of file Tools.h.

bool clang::driver::tools::ClangAs::hasIntegratedCPP ( ) const [inline, override, virtual]

Implements clang::driver::Tool.

Definition at line 114 of file Tools.h.


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