LLVM: lib/TextAPI/TextStubCommon.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_TEXTAPI_TEXT_STUB_COMMON_H

14#define LLVM_TEXTAPI_TEXT_STUB_COMMON_H

15

23

24using UUID = std::pair<llvm::MachO::Target, std::string>;

25

26

36

37

42

43namespace llvm {

44

48

49Expected<std::unique_ptr>

51

53 const FileType FileKind, bool Compact);

54}

55

56namespace yaml {

57

63

67

73

77

83

89

95

96

97

103

104}

105}

106

107#endif

std::pair< llvm::MachO::Target, std::string > UUID

Definition TextStubCommon.h:24

TBDFlags

Definition TextStubCommon.h:27

@ LLVM_MARK_AS_BITMASK_ENUM

Definition TextStubCommon.h:34

@ NotApplicationExtensionSafe

Definition TextStubCommon.h:30

@ SimulatorSupport

Definition TextStubCommon.h:32

@ InstallAPI

Definition TextStubCommon.h:31

@ FlatNamespace

Definition TextStubCommon.h:29

@ None

Definition TextStubCommon.h:28

@ OSLibNotForSharedCache

Definition TextStubCommon.h:33

#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 QuotingType mustQuote(StringRef)

static StringRef input(StringRef, void *, MachO::PlatformSet &)

static void output(const MachO::PlatformSet &, void *, raw_ostream &)

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.