LLVM 17.0.0git
TextAPIReader.h
Go to the documentation of this file.
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_TEXTAPIREADER_H
10#define LLVM_TEXTAPI_TEXTAPIREADER_H
11
12#include "llvm/Support/Error.h"
13
14namespace llvm {
15
16class MemoryBufferRef;
17
18namespace MachO {
19
20class InterfaceFile;
21
23public:
25 get(MemoryBufferRef InputBuffer);
26
27 TextAPIReader() = delete;
28};
29
30} // end namespace MachO.
31} // end namespace llvm.
32
33#endif // LLVM_TEXTAPI_TEXTAPIREADER_H
Tagged union holding either a T or a Error.
Definition: Error.h:470
static Expected< std::unique_ptr< InterfaceFile > > get(MemoryBufferRef InputBuffer)
Definition: TextStub.cpp:1122
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18