Separate control for each numeric literal component.
More...
#include "clang/Format/Format.h"
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.
Definition at line 4050 of file Format.h.
◆ operator!=()
◆ operator==()
◆ ExponentLetter
Format floating point exponent separator letter case.
float a = 6.02e23 + 1.0E10;
float a = 6.02E23 + 1.0E10;
float a = 6.02e23 + 1.0e10;
Definition at line 4057 of file Format.h.
◆ HexDigit
Format hexadecimal digit case.
a = 0xaBcDeF;
a = 0xABCDEF;
a = 0xabcdef;
Definition at line 4064 of file Format.h.
◆ Prefix
Format integer prefix case.
a = 0XF0 | 0b1;
a = 0XF0 | 0B1;
a = 0xF0 | 0b1;
Definition at line 4071 of file Format.h.
◆ Suffix
Format suffix case.
This option excludes case-sensitive reserved suffixes, such as min in C++.
a = 1uLL;
a = 1ULL;
a = 1ull;
Definition at line 4079 of file Format.h.
The documentation for this struct was generated from the following file: