blob: 889b8aad0e9ace9a0af6a7e2fa52182b10afa7ec [file] [log] [blame]
Andrew Walbran3d2c1972020-04-07 12:24:26 +01001//===--- 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_READER_H
10#define LLVM_TEXTAPI_MACHO_READER_H
11
12#include "llvm/Support/Error.h"
Andrew Walbran3d2c1972020-04-07 12:24:26 +010013
14namespace llvm {
Olivier Deprezf4ef2d02021-04-20 13:36:24 +020015
16class MemoryBufferRef;
17
Andrew Walbran3d2c1972020-04-07 12:24:26 +010018namespace MachO {
19
20class InterfaceFile;
21
22class TextAPIReader {
23public:
24 static Expected<std::unique_ptr<InterfaceFile>>
Olivier Deprezf4ef2d02021-04-20 13:36:24 +020025 get(MemoryBufferRef InputBuffer);
Andrew Walbran3d2c1972020-04-07 12:24:26 +010026
27 TextAPIReader() = delete;
28};
29
30} // end namespace MachO.
31} // end namespace llvm.
32
33#endif // LLVM_TEXTAPI_MACHO_READER_H