clang  6.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...
- 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 80 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 89 of file OSTargets.h.

Member Function Documentation

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

◆ getStaticInitSectionSpecifier()

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

Definition at line 121 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 129 of file OSTargets.h.

◆ isValidSectionSpecifier()

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

Definition at line 112 of file OSTargets.h.

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