forked from OSchip/llvm-project
28 lines
641 B
ReStructuredText
28 lines
641 B
ReStructuredText
.. 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.github.io/styleguide/cppguide.html#Integer_Types.
|
|
|
|
Correspondig cpplint.py check: `runtime/int`.
|
|
|
|
Options
|
|
-------
|
|
|
|
.. option:: UnsignedTypePrefix
|
|
|
|
A string specifying the unsigned type prefix. Default is `uint`.
|
|
|
|
.. option:: SignedTypePrefix
|
|
|
|
A string specifying the signed type prefix. Default is `int`.
|
|
|
|
.. option:: TypeSuffix
|
|
|
|
A string specifying the type suffix. Default is an empty string.
|