]> granicus.if.org Git - clang/commit
Remove redundant conditions of the form (A || (!A && B)) -> (A || B)
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 11 Apr 2016 08:26:13 +0000 (08:26 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 11 Apr 2016 08:26:13 +0000 (08:26 +0000)
commit717e5e20622b0f4ac3c16bb643ed6a36eef29603
tree6c79c071c23bb716c603e9ad9adae7ff23f93ecf
parent1903a4e0802cdd84b97e7ebaac3c4ee134d58b8c
Remove redundant conditions of the form (A || (!A && B)) -> (A || B)

Found by cppcheck! PR27286 PR27287 PR27288 PR27289

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265918 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
lib/Parse/ParseOpenMP.cpp
lib/Sema/SemaOverload.cpp
lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
lib/StaticAnalyzer/Core/RegionStore.cpp