LLVM 22.0.0git
llvm::MachO::TextAPIWriter Class Reference

#include "llvm/TextAPI/TextAPIWriter.h"

Public Member Functions

 TextAPIWriter ()=delete

Static Public Member Functions

static LLVM_ABI Error writeToStream (raw_ostream &OS, const InterfaceFile &File, const FileType FileKind=FileType::Invalid, bool Compact=false)
 Write TAPI text file contents into stream.
static FileType parseFileType (const StringRef FT)
 Get TAPI FileType from the input string.

Detailed Description

Definition at line 23 of file TextAPIWriter.h.

Constructor & Destructor Documentation

◆ TextAPIWriter()

llvm::MachO::TextAPIWriter::TextAPIWriter ( )
delete

References llvm::MachO::Invalid, and LLVM_ABI.

Member Function Documentation

◆ parseFileType()

FileType llvm::MachO::TextAPIWriter::parseFileType ( const StringRef FT)
inlinestatic

◆ writeToStream()

Error TextAPIWriter::writeToStream ( raw_ostream & OS,
const InterfaceFile & File,
const FileType FileKind = FileType::Invalid,
bool Compact = false )
static

Write TAPI text file contents into stream.

Parameters
OSStream to write to.
FileLibrary attributes to write as text file.
FileKindFile format to write text file as. If not specified, it will read from File.
CompactWhether to limit whitespace in text file.

Definition at line 1136 of file TextStub.cpp.

References llvm::MachO::Invalid, llvm::MachO::TextAPIContext::Path, llvm::MachO::serializeInterfaceFileToJSON(), llvm::Error::success(), and llvm::MachO::TBD_V5.


The documentation for this class was generated from the following files: