llvm/lldb/source/Utility/XcodeSDK.cpp

//===-- XcodeSDK.cpp ------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Utility/XcodeSDK.h"
#include "lldb/Utility/FileSpec.h"

#include "lldb/lldb-types.h"

#include "llvm/TargetParser/Triple.h"

#include <string>

usingnamespacelldb;
usingnamespacelldb_private;

static llvm::StringRef GetName(XcodeSDK::Type type) {}

XcodeSDK::XcodeSDK(XcodeSDK::Info info) :{}

XcodeSDK &XcodeSDK::operator=(const XcodeSDK &other) = default;

bool XcodeSDK::operator==(const XcodeSDK &other) const {}

static XcodeSDK::Type ParseSDKName(llvm::StringRef &name) {}

static llvm::VersionTuple ParseSDKVersion(llvm::StringRef &name) {}

static bool ParseAppleInternalSDK(llvm::StringRef &name) {}

XcodeSDK::Info XcodeSDK::Parse() const {}

bool XcodeSDK::IsAppleInternalSDK() const {}

llvm::VersionTuple XcodeSDK::GetVersion() const {}

XcodeSDK::Type XcodeSDK::GetType() const {}

llvm::StringRef XcodeSDK::GetString() const {}

bool XcodeSDK::Info::operator<(const Info &other) const {}

bool XcodeSDK::Info::operator==(const Info &other) const {}

void XcodeSDK::Merge(const XcodeSDK &other) {}

std::string XcodeSDK::GetCanonicalName(XcodeSDK::Info info) {}

bool XcodeSDK::SDKSupportsModules(XcodeSDK::Type sdk_type,
                                  llvm::VersionTuple version) {}

bool XcodeSDK::SupportsSwift() const {}

bool XcodeSDK::SDKSupportsBuiltinModules(const llvm::Triple &target_triple,
                                         llvm::VersionTuple sdk_version) {}

bool XcodeSDK::SDKSupportsModules(XcodeSDK::Type desired_type,
                                  const FileSpec &sdk_path) {}

XcodeSDK::Type XcodeSDK::GetSDKTypeForTriple(const llvm::Triple &triple) {}

std::string XcodeSDK::FindXcodeContentsDirectoryInPath(llvm::StringRef path) {}