Interpret the given character C as a hexadecimal digit and return its value.

Synopsis

Declared in <llvm/ADT/StringExtras.h>

unsigned int
hexDigitValue(char C);

Description

If C is not a valid hex digit, ‐1U is returned.

Return Value

The digit value, or ‐1U if C is not a hex digit.

Parameters

Name

Description

C

character to interpret as a hex digit

Created with MrDocs