Type: Code Smell Detection
Message:Reorder these specifiers to: "xxx yyy zzz..."
Covered Languages:C, C++, Objective-C
Shared coding conventions allow teams to collaborate efficiently. This rule checks that type specifiers always appear in the following order:
- type name, spelling of built-in types with more than one type-specifier:
- signedness - signed or unsigned
- last single type-specifier or
- short int
- long int
- long long int
- long double
Since the positioning of the const keyword is controversial, this rule does not check it.
- C++ Core Guidelines NL.26 - Use conventional const notation