struct ResolveUnderlyingType

Declaration

template <typename T,
          bool = std::is_enum<type - parameter - 0 - 0>::value>
struct ResolveUnderlyingType { /* full declaration omitted */ };

Description

`Bitfield` deals with the following type: - unsigned enums - signed and unsigned integer - `bool` Internally though we only manipulate integer with well defined and consistent semantics, this excludes typed enums and `bool` that are replaced with their unsigned counterparts. The correct type is restored in the public API.

Declared at: llvm/include/llvm/ADT/Bitfields.h:197

Templates

T
bool = std::is_enum<type-parameter-0-0>::value