Debian Codegraph @

clang-tools-extra/docs/clang-tidy/checks/google/runtime-int.rst

raw
1 .. title:: clang-tidy - google-runtime-int
2
3 google-runtime-int
4 ==================
5
6 Finds uses of ``short``, ``long`` and ``long long`` and suggest replacing them
7 with ``u?intXX(_t)?``.
8
9 The corresponding style guide rule:
10 https://google.github.io/styleguide/cppguide.html#Integer_Types.
11
12 Corresponding cpplint.py check: `runtime/int`.
13
14 Options
15 -------
16
17 .. option:: UnsignedTypePrefix
18
19 A string specifying the unsigned type prefix. Default is `uint`.
20
21 .. option:: SignedTypePrefix
22
23 A string specifying the signed type prefix. Default is `int`.
24
25 .. option:: TypeSuffix
26
27 A string specifying the type suffix. Default is an empty string.