clang API Documentation

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

Clang compiler tool. More...

#include <Tools.h>

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

List of all members.

Public Member Functions

 Clang (const ToolChain &TC)
virtual bool hasGoodDiagnostics () const
 Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures.
virtual bool hasIntegratedAssembler () const
virtual bool hasIntegratedCPP () const
virtual void ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const ArgList &TCArgs, const char *LinkingOutput) const

Detailed Description

Clang compiler tool.

Definition at line 31 of file Tools.h.


Constructor & Destructor Documentation

clang::driver::tools::Clang::Clang ( const ToolChain TC) [inline]

Definition at line 47 of file Tools.h.


Member Function Documentation

void Clang::ConstructJob ( Compilation C,
const JobAction JA,
const InputInfo Output,
const InputInfoList Inputs,
const ArgList TCArgs,
const char *  LinkingOutput 
) const [virtual]

ConstructJob - Construct jobs to perform the action

  • JA, writing to
  • Output and with
  • Inputs.
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 1349 of file Tools.cpp.

References clang::driver::ArgList::AddAllArgs(), clang::driver::ArgList::AddAllArgsTranslated(), clang::driver::ArgList::AddAllArgValues(), clang::driver::Compilation::addCommand(), addExceptionArgs(), clang::driver::ArgList::AddLastArg(), clang::driver::ArgList::begin(), clang::driver::Driver::CCCUsePCH, clang::driver::Driver::CCGenDiagnostics, clang::driver::Driver::CCLogDiagnostics, clang::driver::Driver::CCLogDiagnosticsFilename, clang::driver::Driver::CCPrintHeaders, clang::driver::Driver::CCPrintHeadersFilename, CheckCodeGenerationOptions(), clang::driver::Arg::claim(), clang::driver::ArgList::ClaimAllArgs(), clang::driver::ToolChain::CST_Libcxx, clang::driver::Driver::Diag(), clang::driver::ArgList::end(), clang::driver::ArgList::filtered_begin(), clang::driver::ArgList::filtered_end(), clang::driver::Compilation::getArgs(), clang::driver::Arg::getAsString(), clang::driver::InputInfo::getFilename(), clang::driver::Option::getID(), clang::driver::InputInfo::getInputArg(), clang::driver::ArgList::getLastArg(), clang::driver::ArgList::getLastArgValue(), clang::driver::Option::getName(), clang::driver::Arg::getNumValues(), clang::driver::Arg::getOption(), clang::driver::types::getPreprocessedType(), clang::driver::InputInfo::getType(), clang::driver::Action::getType(), clang::driver::types::getTypeName(), clang::driver::Arg::getValue(), clang::driver::ObjCRuntime::GNU, clang::driver::ObjCRuntime::HasARC, clang::driver::ArgList::hasArg(), clang::driver::ArgList::hasFlag(), clang::driver::ObjCRuntime::HasTerminate, clang::driver::ObjCRuntime::HasWeak, clang::driver::types::isCXX(), clang::driver::InputInfo::isFilename(), clang::driver::InputInfo::isNothing(), clang::driver::types::isObjC(), isObjCAutoRefCount(), isSignedCharDefault(), clang::driver::ArgList::MakeArgString(), clang::driver::Option::matches(), clang::driver::ObjCRuntime::NeXT, clang::driver::Arg::render(), clang::driver::Arg::renderAsInput(), clang::driver::Driver::ResourceDir, clang::driver::ObjCRuntime::setKind(), ShouldDisableCFI(), ShouldDisableDwarfDirectory(), shouldUseFramePointer(), clang::driver::types::TY_INVALID, clang::driver::options::Unsupported, and UseRelaxAll().

virtual bool clang::driver::tools::Clang::hasGoodDiagnostics ( ) const [inline, 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 49 of file Tools.h.

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

Reimplemented from clang::driver::Tool.

Definition at line 50 of file Tools.h.

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

Implements clang::driver::Tool.

Definition at line 51 of file Tools.h.


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