clang 20.0.0git
Public Member Functions | Protected Member Functions | List of all members
clang::targets::OSTargetInfo< TgtInfo > Class Template Referenceabstract

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

Inheritance diagram for clang::targets::OSTargetInfo< TgtInfo >:
Inheritance graph
[legend]

Public Member Functions

 OSTargetInfo (const llvm::Triple &Triple, const TargetOptions &Opts)
 
void getTargetDefines (const LangOptions &Opts, MacroBuilder &Builder) const override
 

Protected Member Functions

virtual void getOSDefines (const LangOptions &Opts, const llvm::Triple &Triple, MacroBuilder &Builder) const =0
 

Detailed Description

template<typename TgtInfo>
class clang::targets::OSTargetInfo< TgtInfo >

Definition at line 21 of file OSTargets.h.

Constructor & Destructor Documentation

◆ OSTargetInfo()

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

Definition at line 27 of file OSTargets.h.

Member Function Documentation

◆ getOSDefines()

template<typename TgtInfo >
virtual void clang::targets::OSTargetInfo< TgtInfo >::getOSDefines ( const LangOptions Opts,
const llvm::Triple &  Triple,
MacroBuilder Builder 
) const
protectedpure virtual

Implemented in clang::targets::DarwinAArch64TargetInfo, clang::targets::DarwinARMTargetInfo, clang::targets::DarwinTargetInfo< Target >, clang::targets::DarwinTargetInfo< AArch64leTargetInfo >, clang::targets::DarwinTargetInfo< ARMleTargetInfo >, clang::targets::DarwinTargetInfo< X86_32TargetInfo >, clang::targets::DarwinTargetInfo< X86_64TargetInfo >, clang::targets::DragonFlyBSDTargetInfo< Target >, clang::targets::FreeBSDTargetInfo< Target >, clang::targets::KFreeBSDTargetInfo< Target >, clang::targets::HaikuTargetInfo< Target >, clang::targets::HaikuTargetInfo< X86_32TargetInfo >, clang::targets::HurdTargetInfo< Target >, clang::targets::LinuxTargetInfo< Target >, clang::targets::LinuxTargetInfo< X86_32TargetInfo >, clang::targets::LinuxTargetInfo< X86_64TargetInfo >, clang::targets::NetBSDTargetInfo< Target >, clang::targets::NetBSDTargetInfo< X86_32TargetInfo >, clang::targets::OpenBSDTargetInfo< Target >, clang::targets::OpenBSDTargetInfo< X86_32TargetInfo >, clang::targets::OpenBSDTargetInfo< X86_64TargetInfo >, clang::targets::PS3PPUTargetInfo< Target >, clang::targets::PSOSTargetInfo< Target >, clang::targets::PS4OSTargetInfo< Target >, clang::targets::PS5OSTargetInfo< Target >, clang::targets::RTEMSTargetInfo< Target >, clang::targets::SolarisTargetInfo< Target >, clang::targets::AIXTargetInfo< Target >, clang::targets::AIXTargetInfo< PPC32TargetInfo >, clang::targets::AIXTargetInfo< PPC64TargetInfo >, clang::targets::ZOSTargetInfo< Target >, clang::targets::WindowsTargetInfo< Target >, clang::targets::WindowsTargetInfo< AArch64leTargetInfo >, clang::targets::WindowsTargetInfo< ARMleTargetInfo >, clang::targets::WindowsTargetInfo< X86_32TargetInfo >, clang::targets::WindowsTargetInfo< X86_64TargetInfo >, clang::targets::NaClTargetInfo< Target >, clang::targets::FuchsiaTargetInfo< Target >, clang::targets::WebAssemblyOSTargetInfo< Target >, clang::targets::OHOSTargetInfo< Target >, clang::targets::OHOSTargetInfo< X86_32TargetInfo >, and clang::targets::OHOSTargetInfo< X86_64TargetInfo >.

◆ getTargetDefines()

template<typename TgtInfo >
void clang::targets::OSTargetInfo< TgtInfo >::getTargetDefines ( const LangOptions Opts,
MacroBuilder Builder 
) const
inlineoverride

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