[clang-tools-extra] [clang-tidy] Rename google-readability-casting to modernize-avoid-c-style-cast (PR #171058)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 8 03:43:50 PST 2025
================
@@ -3,12 +3,4 @@
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``.
+The `google-readability-casting` check is an alias, please see `modernize-avoid-c-style-cast <../modernize/avoid-c-style-cast.html>`_ for more information.
----------------
zeyi2 wrote:
> I expected the formatting tool will do that.
We will soon introduce [doc8](https://github.com/PyCQA/doc8) to the CI workflow. However it is not landed yet and AFAIK manual formatting can't be avoided.
https://github.com/llvm/llvm-project/pull/171058
More information about the cfe-commits
mailing list