LLVM 22.0.0git
llvm::GOFF::Flags Class Reference

#include "llvm/BinaryFormat/GOFF.h"

Public Member Functions

constexpr Flags ()=default
constexpr Flags (uint8_t BitIndex, uint8_t Length, uint8_t Value)
template<typename T>
constexpr void set (uint8_t BitIndex, uint8_t Length, T NewValue)
template<typename T>
constexpr T get (uint8_t BitIndex, uint8_t Length) const
constexpr operator uint8_t () const

Detailed Description

Definition at line 176 of file GOFF.h.

Constructor & Destructor Documentation

◆ Flags() [1/2]

llvm::GOFF::Flags::Flags ( )
constexprdefault

◆ Flags() [2/2]

llvm::GOFF::Flags::Flags ( uint8_t BitIndex,
uint8_t Length,
uint8_t Value )
inlineconstexpr

Definition at line 189 of file GOFF.h.

References llvm::Length.

Member Function Documentation

◆ get()

template<typename T>
T llvm::GOFF::Flags::get ( uint8_t BitIndex,
uint8_t Length ) const
inlineconstexpr

Definition at line 198 of file GOFF.h.

References llvm::Length, and T.

◆ operator uint8_t()

llvm::GOFF::Flags::operator uint8_t ( ) const
inlineconstexpr

Definition at line 203 of file GOFF.h.

◆ set()

template<typename T>
void llvm::GOFF::Flags::set ( uint8_t BitIndex,
uint8_t Length,
T NewValue )
inlineconstexpr

Definition at line 193 of file GOFF.h.

References llvm::Length, and T.


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