[PATCH] D32164: [clang-tidy] misc-misplaced-widening-cast: Disable checking of implicit widening casts by default
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 18 07:29:05 PDT 2017
baloghadamsoftware created this revision.
Herald added a subscriber: whisperity.
Users reported some false positives using this check. This patch sets the default value of the option for checking implicit widening casts to false. We also suggest renaming the check to something like missing-or-misplaced-widening cast so the name also covers the implicit case. This patch supersedes https://reviews.llvm.org/D31097.
https://reviews.llvm.org/D32164
Files:
clang-tidy/misc/MisplacedWideningCastCheck.cpp
test/clang-tidy/misc-misplaced-widening-cast-implicit-enabled.cpp
test/clang-tidy/misc-misplaced-widening-cast.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32164.95563.patch
Type: text/x-patch
Size: 7646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170418/efeec9b6/attachment.bin>
More information about the cfe-commits
mailing list