LLVM 22.0.0git
DXContainer.cpp File Reference

Go to the source code of this file.

Classes

class  DXNotSupportedError

Functions

static Error parseFailed (const Twine &Msg)
template<typename T>
static Error readStruct (StringRef Buffer, const char *Src, T &Struct)
template<typename T>
static Error readInteger (StringRef Buffer, const char *Src, T &Val, Twine Str="structure")

Function Documentation

◆ parseFailed()

Error parseFailed ( const Twine & Msg)
static

Definition at line 19 of file DXContainer.cpp.

References llvm::make_error(), llvm::object::parse_failed, and llvm::Twine::str().

Referenced by readInteger(), and readStruct().

◆ readInteger()

template<typename T>
Error readInteger ( StringRef Buffer,
const char * Src,
T & Val,
Twine Str = "structure" )
static

◆ readStruct()