13#ifndef LLVM_TEXTAPI_TEXT_STUB_COMMON_H
14#define LLVM_TEXTAPI_TEXT_STUB_COMMON_H
24using UUID = std::pair<llvm::MachO::Target, std::string>;
49Expected<std::unique_ptr<InterfaceFile>>
53 const FileType FileKind,
bool Compact);
std::pair< llvm::MachO::Target, std::string > UUID
@ LLVM_MARK_AS_BITMASK_ENUM
@ NotApplicationExtensionSafe
#define LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(type)
Utility for declaring that a std::vector of a particular type should be considered a YAML flow sequen...
#define LLVM_YAML_STRONG_TYPEDEF(_base, _type)
YAML I/O does conversion based on types. But often native data types are just a typedef of built in i...
Defines the interface file.
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.
FileType
Defines the file type TextAPI files can represent.
Error serializeInterfaceFileToJSON(raw_ostream &OS, const InterfaceFile &File, const FileType FileKind, bool Compact)
SmallSet< PlatformType, 3 > PlatformSet
ObjCConstraintType
Defines a list of Objective-C constraints.
Architecture
Defines the architecture slices that are supported by Text-based Stub files.
Expected< std::unique_ptr< InterfaceFile > > getInterfaceFileFromJSON(StringRef JSON)
QuotingType
Describe which type of quotes should be used when quoting is necessary.
This is an optimization pass for GlobalISel generic memory operations.
static void bitset(IO &, MachO::ArchitectureSet &)
This class should be specialized by any integer type that is a union of bit values and the YAML repre...
static void enumeration(IO &, MachO::ObjCConstraintType &)
This class should be specialized by any integral type that converts to/from a YAML scalar where there...
static QuotingType mustQuote(StringRef)
static void output(const FlowStringRef &, void *, raw_ostream &)
static StringRef input(StringRef, void *, FlowStringRef &)
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 &)
static void output(const SwiftVersion &, void *, raw_ostream &)
static QuotingType mustQuote(StringRef)
static StringRef input(StringRef, void *, SwiftVersion &)
static QuotingType mustQuote(StringRef)
static StringRef input(StringRef, void *, UUID &)
static void output(const UUID &, void *, raw_ostream &)
This class should be specialized by type that requires custom conversion to/from a yaml scalar.