|
clang 23.0.0git
|
#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 "llvm/TargetParser/ARMTargetParser.h"#include <optional>Go to the source code of this file.
Functions | |
| static std::optional< StringRef > | parseXcodePlatform (const llvm::json::Object &Obj) |
| static std::pair< llvm::Triple::OSType, llvm::Triple::EnvironmentType > | parseOSAndEnvironment (std::optional< StringRef > XcodePlatform) |
| static DarwinSDKInfo::PlatformInfoStorageType | legacyPlatformInfos (llvm::Triple::OSType SDKOS, llvm::Triple::EnvironmentType SDKEnvironment) |
| static DarwinSDKInfo::PlatformInfoStorageType | parsePlatformInfos (const llvm::json::Object &Obj, std::optional< StringRef > XcodePlatform, llvm::Triple::OSType SDKOS, llvm::Triple::EnvironmentType SDKEnvironment, VersionTuple Version) |
| static std::optional< VersionTuple > | getVersionKey (const llvm::json::Object &Obj, StringRef Key) |
| static DarwinSDKInfo::PlatformInfoStorageType::const_iterator | findPlatformInfo (const DarwinSDKInfo::PlatformInfoStorageType &PlatformInfos, const llvm::Triple &Triple) |
|
static |
Definition at line 358 of file DarwinSDKInfo.cpp.
References findPlatformInfo(), and clang::DarwinSDKInfo::SDKPlatformInfo::getTriples().
Referenced by findPlatformInfo(), clang::DarwinSDKInfo::getPlatformPrefix(), and clang::DarwinSDKInfo::supportsTriple().
|
static |
Definition at line 245 of file DarwinSDKInfo.cpp.
Referenced by clang::DarwinSDKInfo::parseDarwinSDKSettingsJSON().
|
static |
Definition at line 105 of file DarwinSDKInfo.cpp.
Referenced by clang::DarwinSDKInfo::DarwinSDKInfo(), and parsePlatformInfos().
|
static |
Definition at line 79 of file DarwinSDKInfo.cpp.
References clang::Default.
Referenced by clang::DarwinSDKInfo::parseDarwinSDKSettingsJSON().
|
static |
Definition at line 182 of file DarwinSDKInfo.cpp.
References Arch, clang::DarwinSDKInfo::getOS(), and legacyPlatformInfos().
Referenced by clang::DarwinSDKInfo::parseDarwinSDKSettingsJSON().
|
static |
Definition at line 68 of file DarwinSDKInfo.cpp.
Referenced by clang::DarwinSDKInfo::parseDarwinSDKSettingsJSON().