1351278Sdim//===--- TextAPIReader.h - Text API Reader ----------------------*- C++ -*-===//
2351278Sdim//
3351278Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4351278Sdim// See https://llvm.org/LICENSE.txt for license information.
5351278Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6351278Sdim//
7351278Sdim//===----------------------------------------------------------------------===//
8351278Sdim
9351278Sdim#ifndef LLVM_TEXTAPI_MACHO_READER_H
10351278Sdim#define LLVM_TEXTAPI_MACHO_READER_H
11351278Sdim
12351278Sdim#include "llvm/Support/Error.h"
13351278Sdim#include "llvm/Support/MemoryBuffer.h"
14351278Sdim
15351278Sdimnamespace llvm {
16351278Sdimnamespace MachO {
17351278Sdim
18351278Sdimclass InterfaceFile;
19351278Sdim
20351278Sdimclass TextAPIReader {
21351278Sdimpublic:
22351278Sdim  static Expected<std::unique_ptr<InterfaceFile>>
23360784Sdim  get(MemoryBufferRef InputBuffer);
24351278Sdim
25351278Sdim  TextAPIReader() = delete;
26351278Sdim};
27351278Sdim
28351278Sdim} // end namespace MachO.
29351278Sdim} // end namespace llvm.
30351278Sdim
31351278Sdim#endif // LLVM_TEXTAPI_MACHO_READER_H
32