struct RoundUpToPowerOfTwo

Declaration

template <unsigned int N>
struct RoundUpToPowerOfTwo { /* full declaration omitted */ };

Description

RoundUpToPowerOfTwo - This is a helper template that rounds N up to the next power of two (which means N itself if N is already a power of two).

Declared at: llvm/include/llvm/ADT/SmallPtrSet.h:334

Templates

unsigned int N