|
clang 22.0.0git
|
The information about the darwin SDK that was used during this compilation. More...
#include "clang/Basic/DarwinSDKInfo.h"
Classes | |
| struct | OSEnvPair |
| A value that describes two os-environment pairs that can be used as a key to the version map in the SDK. More... | |
| class | RelatedTargetVersionMapping |
| Represents a version mapping that maps from a version of one target to a version of a related target. More... | |
| struct | SDKPlatformInfo |
| Information about the supported platforms, derived from the target triple definitions, in the SDK. More... | |
Public Types | |
| using | PlatformInfoStorageType = SmallVector<SDKPlatformInfo, 2> |
Public Member Functions | |
| DarwinSDKInfo (VersionTuple Version, VersionTuple MaximumDeploymentTarget, PlatformInfoStorageType PlatformInfos, llvm::DenseMap< OSEnvPair::StorageType, std::optional< RelatedTargetVersionMapping > > VersionMappings=llvm::DenseMap< OSEnvPair::StorageType, std::optional< RelatedTargetVersionMapping > >()) | |
| const llvm::VersionTuple & | getVersion () const |
| const SDKPlatformInfo & | getCanonicalPlatformInfo () const |
| const StringRef | getPlatformPrefix (llvm::Triple Triple) const |
| const RelatedTargetVersionMapping * | getVersionMapping (OSEnvPair Kind) const |
Static Public Member Functions | |
| static std::optional< DarwinSDKInfo > | parseDarwinSDKSettingsJSON (const llvm::json::Object *Obj) |
The information about the darwin SDK that was used during this compilation.
Definition at line 33 of file DarwinSDKInfo.h.
Definition at line 181 of file DarwinSDKInfo.h.
|
inline |
Definition at line 183 of file DarwinSDKInfo.h.
Referenced by parseDarwinSDKSettingsJSON().
|
inline |
Definition at line 197 of file DarwinSDKInfo.h.
|
inline |
Definition at line 201 of file DarwinSDKInfo.h.
|
inline |
Definition at line 195 of file DarwinSDKInfo.h.
|
inline |
Definition at line 219 of file DarwinSDKInfo.h.
Referenced by handleAvailabilityAttr().
|
static |
Definition at line 179 of file DarwinSDKInfo.cpp.
References DarwinSDKInfo(), getVersionKey(), clang::DarwinSDKInfo::OSEnvPair::macCatalystToMacOSPair(), clang::DarwinSDKInfo::OSEnvPair::macOStoMacCatalystPair(), clang::DarwinSDKInfo::RelatedTargetVersionMapping::parseJSON(), and parsePlatformInfos().
Referenced by clang::parseDarwinSDKInfo().