clang 20.0.0git
Functions
BitcastBuffer.cpp File Reference
#include "BitcastBuffer.h"
#include "llvm/ADT/STLExtras.h"

Go to the source code of this file.

Functions

static bool bitof (const std::byte *B, Bits BitIndex)
 Returns the value of the bit in the given sequence of bytes.
 

Function Documentation

◆ bitof()

static bool bitof ( const std::byte *  B,
Bits  BitIndex 
)
inlinestatic

Returns the value of the bit in the given sequence of bytes.

Definition at line 15 of file BitcastBuffer.cpp.

References clang::interp::Bits::getOffsetInByte(), and clang::interp::Bits::roundToBytes().

Referenced by clang::interp::BitcastBuffer::copyBits(), and clang::interp::BitcastBuffer::pushData().