LLVM 20.0.0git
|
#include "llvm/TextAPI/TextAPIWriter.h"
Public Member Functions | |
TextAPIWriter ()=delete | |
Static Public Member Functions | |
static 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. | |
Definition at line 22 of file TextAPIWriter.h.
|
delete |
Get TAPI FileType from the input string.
FT | String of input to map to FileType. |
Definition at line 40 of file TextAPIWriter.h.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), llvm::MachO::Invalid, llvm::MachO::TBD_V1, llvm::MachO::TBD_V2, llvm::MachO::TBD_V3, llvm::MachO::TBD_V4, and llvm::MachO::TBD_V5.
|
static |
Write TAPI text file contents into stream.
OS | Stream to write to. |
File | Library attributes to write as text file. |
FileKind | File format to write text file as. If not specified, it will read from File. |
Compact | Whether to limit whitespace in text file. |
Definition at line 1137 of file TextStub.cpp.
References llvm::MachO::TextAPIContext::FileKind, llvm::MachO::Invalid, OS, llvm::MachO::TextAPIContext::Path, llvm::MachO::serializeInterfaceFileToJSON(), llvm::Error::success(), and llvm::MachO::TBD_V5.