blob: 1760fcbfeacc420ad2215ff7139aa8016439828a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
### What it does
Warns for mistyped suffix in literals
### Why is this bad?
This is most probably a typo
### Known problems
- Does not match on integers too large to fit in the corresponding unsigned type
- Does not match on `_127` since that is a valid grouping for decimal and octal numbers
### Example
```
`2_32` => `2_i32`
`250_8 => `250_u8`
```
|