13#ifndef LLVM_TEXTAPI_TEXT_STUB_COMMON_H
14#define LLVM_TEXTAPI_TEXT_STUB_COMMON_H
23using UUID = std::pair<llvm::MachO::Target, std::string>;
46Expected<std::unique_ptr<InterfaceFile>>
55template <>
struct ScalarTraits<FlowStringRef> {
56 static void output(
const FlowStringRef &,
void *,
raw_ostream &);
61template <>
struct ScalarEnumerationTraits<MachO::ObjCConstraintType> {
65template <>
struct ScalarTraits<MachO::PlatformSet> {
71template <>
struct ScalarBitSetTraits<MachO::ArchitectureSet> {
75template <>
struct ScalarTraits<MachO::Architecture> {
81template <>
struct ScalarTraits<MachO::PackedVersion> {
87template <>
struct ScalarTraits<SwiftVersion> {
88 static void output(
const SwiftVersion &,
void *,
raw_ostream &);
93template <>
struct ScalarTraits<
UUID> {
std::pair< llvm::MachO::Target, std::string > UUID
@ LLVM_MARK_AS_BITMASK_ENUM
@ NotApplicationExtensionSafe
#define LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(type)
#define LLVM_YAML_STRONG_TYPEDEF(_base, _type)
SmallSet - This maintains a set of unique values, optimizing for the case when the set is small (less...
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
ObjCConstraintType
Defines a list of Objective-C constraints.
Architecture
Defines the architecture slices that are supported by Text-based Stub files.
Error serializeInterfaceFileToJSON(raw_ostream &OS, const InterfaceFile &File, bool Compact)
Expected< std::unique_ptr< InterfaceFile > > getInterfaceFileFromJSON(StringRef JSON)
This is an optimization pass for GlobalISel generic memory operations.
static void bitset(IO &, MachO::ArchitectureSet &)
static void enumeration(IO &, MachO::ObjCConstraintType &)
static QuotingType mustQuote(StringRef)
static void output(const MachO::Architecture &, void *, raw_ostream &)
static StringRef input(StringRef, void *, MachO::Architecture &)
static void output(const MachO::PackedVersion &, void *, raw_ostream &)
static QuotingType mustQuote(StringRef)
static StringRef input(StringRef, void *, MachO::PackedVersion &)