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

google-readability-casting
==========================

Finds usages of C-style casts.

https://google.github.io/styleguide/cppguide.html#Casting

Corresponding cpplint.py check name: `readability/casting`.

This check is similar to `-Wold-style-cast`, but it suggests automated fixes
in some cases. The reported locations should not be different from the
ones generated by `-Wold-style-cast`.
OpenPOWER on IntegriCloud