clang-tools 20.0.0git
|
Classes | |
struct | Chunk |
struct | File |
Typedefs | |
using | FourCC = std::array< char, 4 > |
Functions | |
llvm::Expected< Chunk > | readChunk (llvm::StringRef &Stream) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &OS, const Chunk &C) |
llvm::Expected< File > | readFile (llvm::StringRef Stream) |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &OS, const File &F) |
constexpr FourCC | fourCC (const char(&Literal)[5]) |
constexpr llvm::StringRef | fourCCStr (const FourCC &Data) |
bool | operator== (const Chunk &L, const Chunk &R) |
bool | operator== (const File &L, const File &R) |
using clang::clangd::riff::FourCC = typedef std::array<char, 4> |
|
inlineconstexpr |
Definition at line 43 of file RIFF.h.
Referenced by readFile().
|
inlineconstexpr |
Definition at line 46 of file RIFF.h.
Referenced by readFile().
llvm::raw_ostream & clang::clangd::riff::operator<< | ( | llvm::raw_ostream & | OS, |
const Chunk & | C | ||
) |
llvm::raw_ostream & clang::clangd::riff::operator<< | ( | llvm::raw_ostream & | OS, |
const File & | F | ||
) |
Definition at line 54 of file RIFF.h.
References clang::clangd::riff::Chunk::Data, and clang::clangd::riff::Chunk::ID.
Definition at line 62 of file RIFF.h.
References clang::clangd::riff::File::Chunks, and clang::clangd::riff::File::Type.
llvm::Expected< Chunk > clang::clangd::riff::readChunk | ( | llvm::StringRef & | Stream | ) |
Definition at line 17 of file RIFF.cpp.
References C, and clang::clangd::error().
Referenced by readFile().
llvm::Expected< File > clang::clangd::riff::readFile | ( | llvm::StringRef | Stream | ) |
Definition at line 48 of file RIFF.cpp.
References clang::clangd::error(), fourCC(), fourCCStr(), readChunk(), and clang::clangd::RIFF.