[clang-tools-extra] c060945 - [docs] Update documentation for bugprone-misplaced-widening-cast

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 6 14:19:06 PDT 2021


Author: Vince Bridgers
Date: 2021-04-06T16:18:50-05:00
New Revision: c060945b23a1c54d4b2a053ff4b093a2277b303d

URL: https://github.com/llvm/llvm-project/commit/c060945b23a1c54d4b2a053ff4b093a2277b303d
DIFF: https://github.com/llvm/llvm-project/commit/c060945b23a1c54d4b2a053ff4b093a2277b303d.diff

LOG: [docs] Update documentation for bugprone-misplaced-widening-cast

The default setting for CheckImplicitCasts was changed in
https://reviews.llvm.org/D32164 but the documentation was not updated.
This simple change just syncs the documentation with the behavior of
that checker.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D99991

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/bugprone-misplaced-widening-cast.rst

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/clang-tidy/checks/bugprone-misplaced-widening-cast.rst b/clang-tools-extra/docs/clang-tidy/checks/bugprone-misplaced-widening-cast.rst
index 08c63c632eb2..cec49c55309a 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/bugprone-misplaced-widening-cast.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone-misplaced-widening-cast.rst
@@ -62,4 +62,4 @@ Options
 
 .. option:: CheckImplicitCasts
 
-   If `true`, enables detection of implicit casts. Default is `true`.
+   If `true`, enables detection of implicit casts. Default is `false`.


        


More information about the cfe-commits mailing list