• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. title:: clang-tidy - google-runtime-int
2
3google-runtime-int
4==================
5
6Finds uses of ``short``, ``long`` and ``long long`` and suggest replacing them
7with ``u?intXX(_t)?``.
8
9The corresponding style guide rule:
10https://google.github.io/styleguide/cppguide.html#Integer_Types.
11
12Corresponding cpplint.py check: `runtime/int`.
13
14Options
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.
28