LLVM: llvm::detail::BCField< Compound > Class Template Reference (original) (raw)

Convenience base for all kinds of bitcode abbreviation fields. More...

#include "[llvm/Bitcode/BitcodeConvenience.h](BitcodeConvenience%5F8h%5Fsource.html)"

Static Public Member Functions
template<typename T>
static void assertValid (const T &data)
Asserts that the given data is a valid value for this field.
template<typename T>
static T convert (T rawValue)
Converts a raw numeric representation of this value to its preferred type.
Static Public Attributes
static const bool IsCompound = Compound

template<bool Compound = false>
class llvm::detail::BCField< Compound >

Convenience base for all kinds of bitcode abbreviation fields.

This just defines common properties queried by the metaprogramming.

Definition at line 43 of file BitcodeConvenience.h.

assertValid()

template<bool Compound = false>

template<typename T>

Asserts that the given data is a valid value for this field.

Definition at line 48 of file BitcodeConvenience.h.

References data, and T.

convert()

template<bool Compound = false>

template<typename T>

Converts a raw numeric representation of this value to its preferred type.

Definition at line 52 of file BitcodeConvenience.h.

References T.

IsCompound

template<bool Compound = false>


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