LLVM 19.0.0git
Static Protected Member Functions | List of all members
llvm::detail::HelperFunctions Class Reference

#include "llvm/Support/FormatProviders.h"

Inheritance diagram for llvm::detail::HelperFunctions:
Inheritance graph

Static Protected Member Functions

static std::optional< size_t > parseNumericPrecision (StringRef Str)
static bool consumeHexStyle (StringRef &Str, HexPrintStyle &Style)
static size_t consumeNumHexDigits (StringRef &Str, HexPrintStyle Style, size_t Default)

Detailed Description

Definition at line 61 of file FormatProviders.h.

Member Function Documentation

◆ consumeHexStyle()

static bool llvm::detail::HelperFunctions::consumeHexStyle ( StringRef Str,
HexPrintStyle Style 

Definition at line 78 of file FormatProviders.h.

References llvm::Lower, llvm::PrefixLower, llvm::PrefixUpper, and llvm::Upper.

◆ consumeNumHexDigits()

static size_t llvm::detail::HelperFunctions::consumeNumHexDigits ( StringRef Str,
HexPrintStyle  Style,
size_t  Default 

Definition at line 93 of file FormatProviders.h.

References llvm::Default, and llvm::isPrefixedHexStyle().

◆ parseNumericPrecision()

static std::optional< size_t > llvm::detail::HelperFunctions::parseNumericPrecision ( StringRef  Str)

Definition at line 63 of file FormatProviders.h.

References assert().

The documentation for this class was generated from the following file: