LLVM
17.0.0git
include
llvm
TextAPI
TextAPIWriter.h
Go to the documentation of this file.
1
//===--- TextAPIWriter.h - Text API Writer ----------------------*- 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_TEXTAPIWRITER_H
10
#define LLVM_TEXTAPI_TEXTAPIWRITER_H
11
12
namespace
llvm
{
13
14
class
Error
;
15
class
raw_ostream;
16
17
namespace
MachO {
18
19
class
InterfaceFile;
20
21
class
TextAPIWriter
{
22
public
:
23
TextAPIWriter
() =
delete
;
24
25
static
Error
writeToStream
(
raw_ostream
&
OS
,
const
InterfaceFile
&File,
26
bool
Compact =
false
);
27
};
28
29
}
// end namespace MachO.
30
}
// end namespace llvm.
31
32
#endif
// LLVM_TEXTAPI_TEXTAPIWRITER_H
OS
raw_pwrite_stream & OS
Definition:
SampleProfWriter.cpp:53
llvm::Error
Lightweight error class with error context and mandatory checking.
Definition:
Error.h:156
llvm::MachO::InterfaceFile
Defines the interface file.
Definition:
InterfaceFile.h:155
llvm::MachO::TextAPIWriter
Definition:
TextAPIWriter.h:21
llvm::MachO::TextAPIWriter::writeToStream
static Error writeToStream(raw_ostream &OS, const InterfaceFile &File, bool Compact=false)
Definition:
TextStub.cpp:1158
llvm::MachO::TextAPIWriter::TextAPIWriter
TextAPIWriter()=delete
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition:
raw_ostream.h:52
llvm::lltok::Error
@ Error
Definition:
LLToken.h:21
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