blob: 2a45bb86a332f6a9c34029649c976e0ae143979d [file] [log] [blame]
Andrew Walbran3d2c1972020-04-07 12:24:26 +01001//===--- TextAPIWriter.h - Text API Writer ----------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_TEXTAPI_MACHO_WRITER_H
10#define LLVM_TEXTAPI_MACHO_WRITER_H
11
12#include "llvm/Support/MemoryBuffer.h"
13
14namespace llvm {
15namespace MachO {
16
17class InterfaceFile;
18
19class TextAPIWriter {
20public:
21 TextAPIWriter() = delete;
22
23 static Error writeToStream(raw_ostream &os, const InterfaceFile &);
24};
25
26} // end namespace MachO.
27} // end namespace llvm.
28
29#endif // LLVM_TEXTAPI_MACHO_WRITER_H