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

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Basic/Targets/OSTargets.h"

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

Public Member Functions

 DarwinTargetInfo (const llvm::Triple &Triple, const TargetOptions &Opts)
 
const char * getStaticInitSectionSpecifier () const override
 
bool hasProtectedVisibility () const override
 Darwin does not support protected visibility. More...
 
unsigned getExnObjectAlignment () const override
 
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 78 of file OSTargets.h.

Constructor & Destructor Documentation

◆ DarwinTargetInfo()

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

Definition at line 87 of file OSTargets.h.

Member Function Documentation

◆ getExnObjectAlignment()

template<typename Target >
unsigned clang::targets::DarwinTargetInfo< Target >::getExnObjectAlignment ( ) const
inlineoverride

Definition at line 126 of file OSTargets.h.

◆ getLeastIntTypeByWidth()

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

Definition at line 158 of file OSTargets.h.

◆ getOSDefines()

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

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

Definition at line 80 of file OSTargets.h.

◆ getStaticInitSectionSpecifier()

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

Definition at line 116 of file OSTargets.h.

◆ hasProtectedVisibility()

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

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 124 of file OSTargets.h.


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