MISRAC++2023-5.13.6
In this section:
Synopsis
(Required) An integer-literal of type long long shall not use a single L or l in any suffix
Enabled by default
Yes
Severity/Certainty
Medium/Medium

Full description
Found an inappropriate suffix
Coding standards
This check does not correspond to any coding standard rules.
Code examples
The following code example fails the check and will give a warning:
void example() {
auto k1 = 12345678998L; // Non-compliant
}
The following code example passes the check and will not give a warning about this issue:
void example() {
auto k1 = 12345678998LL; // Compliant
}