2015-12-23 01:36:49 +08:00
|
|
|
.. title:: clang-tidy - google-readability-casting
|
|
|
|
|
2015-08-28 02:10:07 +08:00
|
|
|
google-readability-casting
|
|
|
|
==========================
|
|
|
|
|
|
|
|
Finds usages of C-style casts.
|
|
|
|
|
2016-02-25 22:31:10 +08:00
|
|
|
https://google.github.io/styleguide/cppguide.html#Casting
|
2015-08-28 02:10:07 +08:00
|
|
|
|
2016-04-02 09:07:18 +08:00
|
|
|
Corresponding cpplint.py check name: `readability/casting`.
|
2015-08-28 02:10:07 +08:00
|
|
|
|
2016-04-02 09:07:18 +08:00
|
|
|
This check is similar to `-Wold-style-cast`, but it suggests automated fixes
|
2015-08-28 02:10:07 +08:00
|
|
|
in some cases. The reported locations should not be different from the
|
2016-04-02 09:07:18 +08:00
|
|
|
ones generated by `-Wold-style-cast`.
|