llvm::APInt::operator[]

Array-indexing support for individual bits.

Synopsis

Declared in <llvm/ADT/APInt.h>

bool
operator[](unsigned int bitPosition) const;

Return Value

the bit value at bitPosition

Parameters

NameDescription
bitPositionZero-based bit index