Aligns Addr to Alignment bytes, rounding up.

Synopsis

Declared in <llvm/Support/Alignment.h>

uintptr_t
alignAddr(
    void const* Addr,
    Align Alignment);

Parameters

Name

Description

Alignment

This struct is a compact representation of a valid (non‐zero power of two) alignment. It is suitable for use as static global constants.

Created with MrDocs