LLVM  15.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
llvm::detail::BCField< Compound > Class Template Reference

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

#include "llvm/Bitcode/BitcodeConvenience.h"

Inheritance diagram for llvm::detail::BCField< Compound >:
Inheritance graph
[legend]
Collaboration diagram for llvm::detail::BCField< Compound >:
Collaboration graph
[legend]

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
 

Detailed Description

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 42 of file BitcodeConvenience.h.

Member Function Documentation

◆ assertValid()

template<bool Compound = false>
template<typename T >
static void llvm::detail::BCField< Compound >::assertValid ( const T data)
inlinestatic

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

Definition at line 47 of file BitcodeConvenience.h.

◆ convert()

template<bool Compound = false>
template<typename T >
static T llvm::detail::BCField< Compound >::convert ( T  rawValue)
inlinestatic

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

Definition at line 51 of file BitcodeConvenience.h.

Member Data Documentation

◆ IsCompound

template<bool Compound = false>
const bool llvm::detail::BCField< Compound >::IsCompound = Compound
static

Definition at line 44 of file BitcodeConvenience.h.


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