-
Notifications
You must be signed in to change notification settings - Fork 15.5k
[clang-tidy] Fix documentation in modernize-avoid-c-style-cast
#171413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@llvm/pr-subscribers-clang-tools-extra Author: mitchell (zeyi2) ChangesRelated discussion: #171058 (comment) Full diff: https://github.com/llvm/llvm-project/pull/171413.diff 2 Files Affected:
diff --git a/clang-tools-extra/docs/clang-tidy/checks/google/readability-casting.rst b/clang-tools-extra/docs/clang-tidy/checks/google/readability-casting.rst
index 5ef3554fc4d95..31ee3bd457d03 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/google/readability-casting.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/google/readability-casting.rst
@@ -10,3 +10,5 @@ for more information.
Finds usages of C-style casts.
https://google.github.io/styleguide/cppguide.html#Casting
+
+Corresponding cpplint.py check name: `readability/casting`.
diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-style-cast.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-style-cast.rst
index b88a928398612..c43fb00d02d09 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-style-cast.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-style-cast.rst
@@ -3,6 +3,7 @@
modernize-avoid-c-style-cast
============================
+Finds usages of C-style casts.
C-style casts can perform a variety of different conversions (``const_cast``,
``static_cast``, ``reinterpret_cast``, or a combination). This makes them
|
|
@llvm/pr-subscribers-clang-tidy Author: mitchell (zeyi2) ChangesRelated discussion: #171058 (comment) Full diff: https://github.com/llvm/llvm-project/pull/171413.diff 2 Files Affected:
diff --git a/clang-tools-extra/docs/clang-tidy/checks/google/readability-casting.rst b/clang-tools-extra/docs/clang-tidy/checks/google/readability-casting.rst
index 5ef3554fc4d95..31ee3bd457d03 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/google/readability-casting.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/google/readability-casting.rst
@@ -10,3 +10,5 @@ for more information.
Finds usages of C-style casts.
https://google.github.io/styleguide/cppguide.html#Casting
+
+Corresponding cpplint.py check name: `readability/casting`.
diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-style-cast.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-style-cast.rst
index b88a928398612..c43fb00d02d09 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-style-cast.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-style-cast.rst
@@ -3,6 +3,7 @@
modernize-avoid-c-style-cast
============================
+Finds usages of C-style casts.
C-style casts can perform a variety of different conversions (``const_cast``,
``static_cast``, ``reinterpret_cast``, or a combination). This makes them
|
vbvictor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry about that 😐 |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/41880 Here is the relevant piece of the build log for the reference |
Related discussion: #171058 (comment)