clang-tidy - google-readability-casting — Extra Clang Tools 18.1.8 documentation

# Extra Clang Tools 18.1.8 documentation

## 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`.