|
LLVM 22.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. | |
| 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 |
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.
|
inlinestatic |
Asserts that the given data is a valid value for this field.
Definition at line 48 of file BitcodeConvenience.h.
|
inlinestatic |
Converts a raw numeric representation of this value to its preferred type.
Definition at line 52 of file BitcodeConvenience.h.
References T.
|
static |
Definition at line 45 of file BitcodeConvenience.h.