#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) { … }
}
}