struct DarwinSDKInfo::OSEnvPair

Declaration

struct DarwinSDKInfo::OSEnvPair { /* full declaration omitted */ };

Description

A value that describes two os-environment pairs that can be used as a key to the version map in the SDK.

Declared at: clang/include/clang/Basic/DarwinSDKInfo.h:32

Member Variables

private clang::DarwinSDKInfo::OSEnvPair::StorageType Value

Method Overview

  • public constexpr OSEnvPair(llvm::Triple::OSType FromOS, llvm::Triple::EnvironmentType FromEnv, llvm::Triple::OSType ToOS, llvm::Triple::EnvironmentType ToEnv)
  • public static inline constexpr clang::DarwinSDKInfo::OSEnvPair iOStoTvOSPair()
  • public static inline constexpr clang::DarwinSDKInfo::OSEnvPair iOStoWatchOSPair()
  • public static inline constexpr clang::DarwinSDKInfo::OSEnvPair macCatalystToMacOSPair()
  • public static inline constexpr clang::DarwinSDKInfo::OSEnvPair macOStoMacCatalystPair()

Methods

constexpr OSEnvPair(
    llvm::Triple::OSType FromOS,
    llvm::Triple::EnvironmentType FromEnv,
    llvm::Triple::OSType ToOS,
    llvm::Triple::EnvironmentType ToEnv)

Declared at: clang/include/clang/Basic/DarwinSDKInfo.h:36

Parameters

llvm::Triple::OSType FromOS
llvm::Triple::EnvironmentType FromEnv
llvm::Triple::OSType ToOS
llvm::Triple::EnvironmentType ToEnv

static inline constexpr clang::DarwinSDKInfo::
    OSEnvPair
    iOStoTvOSPair()

Description

Returns the os-environment mapping pair that's used to represent the iOS -> tvOS version mapping.

Declared at: clang/include/clang/Basic/DarwinSDKInfo.h:69

static inline constexpr clang::DarwinSDKInfo::
    OSEnvPair
    iOStoWatchOSPair()

Description

Returns the os-environment mapping pair that's used to represent the iOS -> watchOS version mapping.

Declared at: clang/include/clang/Basic/DarwinSDKInfo.h:62

static inline constexpr clang::DarwinSDKInfo::
    OSEnvPair
    macCatalystToMacOSPair()

Description

Returns the os-environment mapping pair that's used to represent the Mac Catalyst -> macOS version mapping.

Declared at: clang/include/clang/Basic/DarwinSDKInfo.h:55

static inline constexpr clang::DarwinSDKInfo::
    OSEnvPair
    macOStoMacCatalystPair()

Description

Returns the os-environment mapping pair that's used to represent the macOS -> Mac Catalyst version mapping.

Declared at: clang/include/clang/Basic/DarwinSDKInfo.h:48