clang 22.0.0git
DarwinSDKInfo.cpp File Reference
#include "clang/Basic/DarwinSDKInfo.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/JSON.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include <optional>

Go to the source code of this file.

Functions

static DarwinSDKInfo::PlatformInfoStorageType parsePlatformInfos (const llvm::json::Object &Obj, VersionTuple Version)
static std::optional< VersionTuple > getVersionKey (const llvm::json::Object &Obj, StringRef Key)

Function Documentation

◆ getVersionKey()

std::optional< VersionTuple > getVersionKey ( const llvm::json::Object & Obj,
StringRef Key )
static

Definition at line 167 of file DarwinSDKInfo.cpp.

Referenced by clang::DarwinSDKInfo::parseDarwinSDKSettingsJSON().

◆ parsePlatformInfos()

DarwinSDKInfo::PlatformInfoStorageType parsePlatformInfos ( const llvm::json::Object & Obj,
VersionTuple Version )
static

Definition at line 67 of file DarwinSDKInfo.cpp.

References Arch.

Referenced by clang::DarwinSDKInfo::parseDarwinSDKSettingsJSON().