forked from OSchip/llvm-project
[clang-tidy] misc-misplaced-widening-cast: Disable checking of implicit widening casts by default.
Patch by Ádám Balogh! Differential Revision: https://reviews.llvm.org/D32164 llvm-svn: 300699
This commit is contained in:
parent
5a2235bbd0
commit
1a92506f36
|
@ -21,7 +21,7 @@ namespace misc {
|
|||
MisplacedWideningCastCheck::MisplacedWideningCastCheck(
|
||||
StringRef Name, ClangTidyContext *Context)
|
||||
: ClangTidyCheck(Name, Context),
|
||||
CheckImplicitCasts(Options.get("CheckImplicitCasts", true)) {}
|
||||
CheckImplicitCasts(Options.get("CheckImplicitCasts", false)) {}
|
||||
|
||||
void MisplacedWideningCastCheck::storeOptions(
|
||||
ClangTidyOptions::OptionMap &Opts) {
|
||||
|
|
Loading…
Reference in New Issue