This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] misc-misplaced-widening-cast: Disable checking of implicit widening casts by default
ClosedPublic

Authored by baloghadamsoftware on Apr 18 2017, 7:29 AM.

Details

Summary

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 D31097.

Diff Detail

test/clang-tidy/misc-misplaced-widening-cast-implicit-enabled.cpp