clang  9.0.0svn
Public Member Functions | Protected Member Functions | List of all members
clang::targets::DarwinTargetInfo< Target > Class Template Reference

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/Basic/Targets/OSTargets.h"

Inheritance diagram for clang::targets::DarwinTargetInfo< Target >:
Inheritance graph
Collaboration diagram for clang::targets::DarwinTargetInfo< Target >:
Collaboration graph

Public Member Functions

 DarwinTargetInfo (const llvm::Triple &Triple, const TargetOptions &Opts)
std::string isValidSectionSpecifier (StringRef SR) const override
const char * getStaticInitSectionSpecifier () const override
bool hasProtectedVisibility () const override
 Darwin does not support protected visibility. More...
TargetInfo::IntType getLeastIntTypeByWidth (unsigned BitWidth, bool IsSigned) const final
- Public Member Functions inherited from clang::targets::OSTargetInfo< Target >
 OSTargetInfo (const llvm::Triple &Triple, const TargetOptions &Opts)
void getTargetDefines (const LangOptions &Opts, MacroBuilder &Builder) const override

Protected Member Functions

void getOSDefines (const LangOptions &Opts, const llvm::Triple &Triple, MacroBuilder &Builder) const override

Detailed Description

template<typename Target>
class clang::targets::DarwinTargetInfo< Target >

Definition at line 79 of file OSTargets.h.

Constructor & Destructor Documentation

◆ DarwinTargetInfo()

template<typename Target>
clang::targets::DarwinTargetInfo< Target >::DarwinTargetInfo ( const llvm::Triple &  Triple,
const TargetOptions Opts 

Definition at line 88 of file OSTargets.h.

Member Function Documentation

◆ getLeastIntTypeByWidth()

template<typename Target>
TargetInfo::IntType clang::targets::DarwinTargetInfo< Target >::getLeastIntTypeByWidth ( unsigned  BitWidth,
bool  IsSigned 
) const

Definition at line 136 of file OSTargets.h.

◆ getOSDefines()

template<typename Target>
void clang::targets::DarwinTargetInfo< Target >::getOSDefines ( const LangOptions Opts,
const llvm::Triple &  Triple,
MacroBuilder Builder 
) const

Implements clang::targets::OSTargetInfo< Target >.

Definition at line 81 of file OSTargets.h.

◆ getStaticInitSectionSpecifier()

template<typename Target>
const char* clang::targets::DarwinTargetInfo< Target >::getStaticInitSectionSpecifier ( ) const

Definition at line 126 of file OSTargets.h.

◆ hasProtectedVisibility()

template<typename Target>
bool clang::targets::DarwinTargetInfo< Target >::hasProtectedVisibility ( ) const

Darwin does not support protected visibility.

Darwin's "default" is very similar to ELF's "protected"; Darwin requires a "weak" attribute on declarations that can be dynamically replaced.

Definition at line 134 of file OSTargets.h.

◆ isValidSectionSpecifier()

template<typename Target>
std::string clang::targets::DarwinTargetInfo< Target >::isValidSectionSpecifier ( StringRef  SR) const

Definition at line 117 of file OSTargets.h.

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