clang API Documentation

Public Member Functions
clang::driver::toolchains::DarwinClang Class Reference

DarwinClang - The Darwin toolchain used by Clang. More...

#include <ToolChains.h>

Inheritance diagram for clang::driver::toolchains::DarwinClang:
Inheritance graph
[legend]
Collaboration diagram for clang::driver::toolchains::DarwinClang:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DarwinClang (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
Apple ToolChain Implementation

{

void AddLinkRuntimeLibArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const override
 Add the linker arguments to link the compiler runtime library.
void AddCXXStdlibLibArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const override
void AddCCKextLibArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const override
virtual void addClangWarningOptions (llvm::opt::ArgStringList &CC1Args) const override
 Add warning options that need to be passed to cc1 for this target.
void AddLinkARCArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const override
 Add the linker arguments to link the ARC runtime library.

Detailed Description

DarwinClang - The Darwin toolchain used by Clang.

Definition at line 471 of file ToolChains.h.


Constructor & Destructor Documentation

DarwinClang::DarwinClang ( const Driver D,
const llvm::Triple &  Triple,
const llvm::opt::ArgList &  Args 
)

Definition at line 239 of file ToolChains.cpp.


Member Function Documentation

void DarwinClang::AddCCKextLibArgs ( const llvm::opt::ArgList &  Args,
llvm::opt::ArgStringList &  CmdArgs 
) const [override, virtual]
void DarwinClang::addClangWarningOptions ( llvm::opt::ArgStringList &  CC1Args) const [override, virtual]

Add warning options that need to be passed to cc1 for this target.

Reimplemented from clang::driver::ToolChain.

Definition at line 244 of file ToolChains.cpp.

References clang::driver::ToolChain::getTriple(), and clang::driver::toolchains::Darwin::isTargetMacOS().

void DarwinClang::AddCXXStdlibLibArgs ( const llvm::opt::ArgList &  Args,
llvm::opt::ArgStringList &  CmdArgs 
) const [override, virtual]

AddCXXStdlibLibArgs - Add the system specific linker arguments to use for the given C++ standard library type.

Reimplemented from clang::driver::ToolChain.

Definition at line 582 of file ToolChains.cpp.

References clang::driver::ToolChain::CST_Libcxx, clang::driver::ToolChain::CST_Libstdcxx, clang::driver::ToolChain::GetCXXStdlibType(), and P.

Referenced by AddLinkRuntimeLibArgs().

void DarwinClang::AddLinkARCArgs ( const llvm::opt::ArgList &  Args,
llvm::opt::ArgStringList &  CmdArgs 
) const [override, virtual]
void DarwinClang::AddLinkRuntimeLibArgs ( const llvm::opt::ArgList &  Args,
llvm::opt::ArgStringList &  CmdArgs 
) const [override, virtual]

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