summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy/checks/google-runtime-int.rst
blob: eace60b9280754ca5a83f517a2e4d738b3579d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.. title:: clang-tidy - google-runtime-int

google-runtime-int
==================

Finds uses of ``short``, ``long`` and ``long long`` and suggest replacing them
with ``u?intXX(_t)?``.

The corresponding style guide rule:
https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Integer_Types.

Correspondig cpplint.py check: `runtime/int`.
OpenPOWER on IntegriCloud