llvm-project/clang-tools-extra/docs/clang-tidy/checks/google/readability-casting.rst
raw| 1 | .. title:: clang-tidy - google-readability-casting |
| 2 | |
| 3 | google-readability-casting |
| 4 | ========================== |
| 5 | |
| 6 | Finds usages of C-style casts. |
| 7 | |
| 8 | https://google.github.io/styleguide/cppguide.html#Casting |
| 9 | |
| 10 | Corresponding cpplint.py check name: `readability/casting`. |
| 11 | |
| 12 | This check is similar to ``-Wold-style-cast``, but it suggests automated fixes |
| 13 | in some cases. The reported locations should not be different from the |
| 14 | ones generated by ``-Wold-style-cast``. |