clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
clang::driver::toolchains::Hexagon_TC Class Reference

#include <ToolChains.h>

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

List of all members.

Public Member Functions

 Hexagon_TC (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
 ~Hexagon_TC ()
void AddClangSystemIncludeArgs (const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
 Add the clang cc1 arguments for system include paths.
void AddClangCXXStdlibIncludeArgs (const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
CXXStdlibType GetCXXStdlibType (const llvm::opt::ArgList &Args) const override
StringRef GetGCCLibAndIncVersion () const

Static Public Member Functions

static std::string GetGnuDir (const std::string &InstalledDir, const llvm::opt::ArgList &Args)
 Hexagon Toolchain.
static StringRef GetTargetCPU (const llvm::opt::ArgList &Args)

Protected Member Functions

ToolbuildAssembler () const override
ToolbuildLinker () const override

Protected Attributes

GCCVersion GCCLibAndIncVersion

Detailed Description

Definition at line 691 of file ToolChains.h.


Constructor & Destructor Documentation

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

Definition at line 2204 of file ToolChains.cpp.


Member Function Documentation

void Hexagon_TC::AddClangCXXStdlibIncludeArgs ( const llvm::opt::ArgList &  DriverArgs,
llvm::opt::ArgStringList &  CC1Args 
) const [override, virtual]

AddClangCXXStdlibIncludeArgs - Add the clang -cc1 level arguments to set the include paths to use for the given C++ standard library type.

Reimplemented from clang::driver::toolchains::Linux.

Definition at line 2231 of file ToolChains.cpp.

References clang::driver::ToolChain::addSystemInclude(), clang::driver::ToolChain::getDriver(), GetGCCLibAndIncVersion(), GetGnuDir(), and clang::driver::Driver::InstalledDir.

void Hexagon_TC::AddClangSystemIncludeArgs ( const llvm::opt::ArgList &  DriverArgs,
llvm::opt::ArgStringList &  CC1Args 
) const [override, virtual]

Add the clang cc1 arguments for system include paths.

This routine is responsible for adding the necessary cc1 arguments to include headers from standard system header directories.

Reimplemented from clang::driver::toolchains::Linux.

Definition at line 2215 of file ToolChains.cpp.

References clang::driver::ToolChain::addExternCSystemInclude(), clang::driver::ToolChain::getDriver(), GetGCCLibAndIncVersion(), GetGnuDir(), and clang::driver::Driver::InstalledDir.

Tool * Hexagon_TC::buildAssembler ( ) const [override, protected, virtual]

Reimplemented from clang::driver::toolchains::Linux.

Definition at line 2207 of file ToolChains.cpp.

Tool * Hexagon_TC::buildLinker ( ) const [override, protected, virtual]

Reimplemented from clang::driver::toolchains::Linux.

Definition at line 2211 of file ToolChains.cpp.

ToolChain::CXXStdlibType Hexagon_TC::GetCXXStdlibType ( const llvm::opt::ArgList &  Args) const [override, virtual]
std::string Hexagon_TC::GetGnuDir ( const std::string &  InstalledDir,
const llvm::opt::ArgList &  Args 
) [static]
StringRef Hexagon_TC::GetTargetCPU ( const llvm::opt::ArgList &  Args) [static]

Member Data Documentation

Definition at line 693 of file ToolChains.h.

Referenced by Hexagon_TC().


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