llvm/llvm/lib/TextAPI/Platform.cpp

//===- llvm/TextAPI/Platform.cpp - Platform ---------------------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// Implementations of Platform Helper functions.
//
//===----------------------------------------------------------------------===//

#include "llvm/TextAPI/Platform.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/TargetParser/Triple.h"

namespace llvm {
namespace MachO {

PlatformType mapToPlatformType(PlatformType Platform, bool WantSim) {}

PlatformType mapToPlatformType(const Triple &Target) {}

PlatformSet mapToPlatformSet(ArrayRef<Triple> Targets) {}

StringRef getPlatformName(PlatformType Platform) {}

PlatformType getPlatformFromName(StringRef Name) {}

std::string getOSAndEnvironmentName(PlatformType Platform,
                                    std::string Version) {}

VersionTuple mapToSupportedOSVersion(const Triple &Triple) {}

} // end namespace MachO.
} // end namespace llvm.