LLVM
15.0.0git
|
Convenience base for all kinds of bitcode abbreviation fields. More...
#include "llvm/Bitcode/BitcodeConvenience.h"
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. More... | |
template<typename T > | |
static T | convert (T rawValue) |
Converts a raw numeric representation of this value to its preferred type. More... | |
Static Public Attributes | |
static const bool | IsCompound = Compound |
Convenience base for all kinds of bitcode abbreviation fields.
This just defines common properties queried by the metaprogramming.
Definition at line 42 of file BitcodeConvenience.h.
|
inlinestatic |
Asserts that the given data is a valid value for this field.
Definition at line 47 of file BitcodeConvenience.h.
|
inlinestatic |
Converts a raw numeric representation of this value to its preferred type.
Definition at line 51 of file BitcodeConvenience.h.
|
static |
Definition at line 44 of file BitcodeConvenience.h.