]> granicus.if.org Git - clang/commit
[analyzer] Remove the redundant check about same state transition in `ArrayBoundCheck...
authorHenry Wong <movietravelcode@outlook.com>
Wed, 30 May 2018 11:46:45 +0000 (11:46 +0000)
committerHenry Wong <movietravelcode@outlook.com>
Wed, 30 May 2018 11:46:45 +0000 (11:46 +0000)
commitc6bd6cda63ff7f14021b205670609d5971943986
tree7e89d943404f74c11c36be4f95c4fa9e9c4530d1
parent3d25876adf4f9f8f1aff71ec00fe4419054b7439
[analyzer] Remove the redundant check about same state transition in `ArrayBoundCheckerV2.cpp`.

Summary: Since the `addTransitionImpl()` has a check about same state transition, there is no need to check it in `ArrayBoundCheckerV2.cpp`.

Reviewers: NoQ, xazax.hun, george.karpenkov

Reviewed By: NoQ

Subscribers: szepet, rnkovacs, a.sidorin, cfe-commits, MTC

Differential Revision: https://reviews.llvm.org/D47451

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333531 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp