clang 22.0.0git
|
Separate control for each numeric literal component. More...
#include "clang/Format/Format.h"
Public Member Functions | |
bool | operator== (const NumericLiteralCaseStyle &R) const |
bool | operator!= (const NumericLiteralCaseStyle &R) const |
Public Attributes | |
NumericLiteralComponentStyle | ExponentLetter |
Format floating point exponent separator letter case. | |
NumericLiteralComponentStyle | HexDigit |
Format hexadecimal digit case. | |
NumericLiteralComponentStyle | Prefix |
Format integer prefix case. | |
NumericLiteralComponentStyle | Suffix |
Format suffix case. This option excludes case-sensitive reserved suffixes, such as min in C++. |
Separate control for each numeric literal component.
For example, the config below will leave exponent letters alone, reformat hexadecimal digits in lowercase, reformat numeric literal prefixes in uppercase, and reformat suffixes in lowercase.
|
inline |
|
inline |
NumericLiteralComponentStyle clang::NumericLiteralCaseStyle::ExponentLetter |
Format floating point exponent separator letter case.
Definition at line 3602 of file Format.h.
Referenced by operator==().
NumericLiteralComponentStyle clang::NumericLiteralCaseStyle::HexDigit |
Format hexadecimal digit case.
Definition at line 3609 of file Format.h.
Referenced by operator==().
NumericLiteralComponentStyle clang::NumericLiteralCaseStyle::Prefix |
Format integer prefix case.
Definition at line 3616 of file Format.h.
Referenced by operator==().
NumericLiteralComponentStyle clang::NumericLiteralCaseStyle::Suffix |
Format suffix case. This option excludes case-sensitive reserved suffixes, such as min in C++.
Definition at line 3624 of file Format.h.
Referenced by operator==().