summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LoopPass.cpp
diff options
context:
space:
mode:
authorGabor Horvath <xazax.hun@gmail.com>2016-04-06 12:04:51 +0000
committerGabor Horvath <xazax.hun@gmail.com>2016-04-06 12:04:51 +0000
commit5273f615c40de3158330eaf0e160ecd4c4d154f4 (patch)
tree5fd904297cef10f0e8ec48bfb863d8d742a86d25 /llvm/lib/Analysis/LoopPass.cpp
parent9c24ebfa6de98e78d38318216dfc972e562a0939 (diff)
downloadbcm5719-llvm-5273f615c40de3158330eaf0e160ecd4c4d154f4.tar.gz
bcm5719-llvm-5273f615c40de3158330eaf0e160ecd4c4d154f4.zip
[clang-tidy] Extension of checker misc-misplaced-widening-cast
Summary: Existing checker misc-misplaced-widening-cast was extended: - New use cases: casted expression as lhs or rhs of a logical comparison or function argument - New types: beside int, long and long long various char types, short and int128 added - New option to check implicit casts: forgetting a cast is at least as common and as dangerous as misplacing it. This option can be disabled. This patch depends on AST Matcher patches D17986 and D18243 and also contains fix for checker misc-bool-pointer-implicit-conversion needed because of the fix in the AST Matcher patch. Reviewers: hokein, alexfh Subscribers: o.gyorgy, xazax.hun, cfe-commits Differential Revision: http://reviews.llvm.org/D17987 llvm-svn: 265532
Diffstat (limited to 'llvm/lib/Analysis/LoopPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud