1//===--- TextAPIReader.h - Text API Reader ----------------------*- 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_TEXTAPIREADER_H
10#define LLVM_TEXTAPI_MACHO_TEXTAPIREADER_H
11
12#include "llvm/Support/Error.h"
13
14namespace llvm {
15
16class MemoryBufferRef;
17
18namespace MachO {
19
20class InterfaceFile;
21
22class TextAPIReader {
23public:
24 static Expected<std::unique_ptr<InterfaceFile>>
25 get(MemoryBufferRef InputBuffer);
26
27 TextAPIReader() = delete;
28};
29
30} // end namespace MachO.
31} // end namespace llvm.
32
33#endif // LLVM_TEXTAPI_MACHO_TEXTAPIREADER_H
34