LLVM
17.0.0git
include
llvm
TextAPI
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
14
namespace
llvm
{
15
16
class
MemoryBufferRef;
17
18
namespace
MachO {
19
20
class
InterfaceFile;
21
22
class
TextAPIReader
{
23
public
:
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_TEXTAPIREADER_H
llvm::Expected
Tagged union holding either a T or a Error.
Definition:
Error.h:470
llvm::MachO::TextAPIReader
Definition:
TextAPIReader.h:22
llvm::MachO::TextAPIReader::get
static Expected< std::unique_ptr< InterfaceFile > > get(MemoryBufferRef InputBuffer)
Definition:
TextStub.cpp:1122
llvm::MachO::TextAPIReader::TextAPIReader
TextAPIReader()=delete
llvm::MemoryBufferRef
Definition:
MemoryBufferRef.h:22
Error.h
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Fri Jun 2 2023 14:53:43 for LLVM by
1.9.6