Skip to content

Commit 6b59a95

Browse files
authored
[clang-tidy] Fix documentation in modernize-avoid-c-style-cast (#171413)
Related discussion: #171058 (comment)
1 parent e60a332 commit 6b59a95

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

clang-tools-extra/docs/clang-tidy/checks/google/readability-casting.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ for more information.
1010
Finds usages of C-style casts.
1111

1212
https://google.github.io/styleguide/cppguide.html#Casting
13+
14+
Corresponding cpplint.py check name: `readability/casting`.

clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-style-cast.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
modernize-avoid-c-style-cast
44
============================
55

6+
Finds usages of C-style casts.
67

78
C-style casts can perform a variety of different conversions (``const_cast``,
89
``static_cast``, ``reinterpret_cast``, or a combination). This makes them

0 commit comments

Comments
 (0)