- Use a tool.
clang-format
- Would be possible except for the use of libraries with varying conventions.
clang-tidy: readability-identifier-naming
clang-format
- Flag macros with lower-case letters
- Flag ALL_CAPS non-macro names
clang-tidy: readability-identifier-naming
- Impossible
clang-tidy: readability-identifier-naming
clang-format
- Flag long digit sequences. The trouble is to define "long"; maybe 7.
no enforcement
- Flag departures from the suggested order. There will be a lot of old code that doesn't follow this rule.
no enforcement
- If you want enforcement, use an IDE to reformat.
clang-format
- Impossible in the face of history.
clang-format
- Easy
clang-format
- nothing
no enforcement
no enforcement
- Flag const used as a suffix for a type.
no enforcement