#ifndef LLVM_TEXTAPI_TEXT_STUB_COMMON_H
#define LLVM_TEXTAPI_TEXT_STUB_COMMON_H
#include "llvm/ADT/BitmaskEnum.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/YAMLTraits.h"
#include "llvm/TextAPI/Architecture.h"
#include "llvm/TextAPI/InterfaceFile.h"
#include "llvm/TextAPI/Platform.h"
#include "llvm/TextAPI/Target.h"
UUID;
enum TBDFlags : unsigned { … };
LLVM_YAML_STRONG_TYPEDEF(llvm::StringRef, FlowStringRef)
LLVM_YAML_STRONG_TYPEDEF(…)
LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(UUID)
LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(FlowStringRef)
namespace llvm {
namespace MachO {
class ArchitectureSet;
class PackedVersion;
Expected<std::unique_ptr<InterfaceFile>>
getInterfaceFileFromJSON(StringRef JSON);
Error serializeInterfaceFileToJSON(raw_ostream &OS, const InterfaceFile &File,
const FileType FileKind, bool Compact);
}
namespace yaml {
template <> struct ScalarTraits<FlowStringRef> { … };
template <> struct ScalarEnumerationTraits<MachO::ObjCConstraintType> { … };
template <> struct ScalarTraits<MachO::PlatformSet> { … };
template <> struct ScalarBitSetTraits<MachO::ArchitectureSet> { … };
template <> struct ScalarTraits<MachO::Architecture> { … };
template <> struct ScalarTraits<MachO::PackedVersion> { … };
template <> struct ScalarTraits<SwiftVersion> { … };
template <> struct ScalarTraits<UUID> { … };
}
}
#endif