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 llvm::Triple::OSType parseOS (const llvm::json::Object &Obj)
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 88 of file DarwinSDKInfo.cpp.

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

◆ parseOS()

llvm::Triple::OSType parseOS ( const llvm::json::Object & Obj)
static

Definition at line 66 of file DarwinSDKInfo.cpp.

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