[PATCH] D28771: [Analyzer] Various fixes for the IteratorPastEnd checker

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 21 07:35:50 PST 2017


baloghadamsoftware updated this revision to Diff 89211.
baloghadamsoftware added a comment.

checkBind replaces checking of DeclStmt, CXXConstructExpr and assignment operators. Incremention by 0 is not a bug anymore regardless the position of the iterator.


https://reviews.llvm.org/D28771

Files:
  lib/StaticAnalyzer/Checkers/IteratorPastEndChecker.cpp
  test/Analysis/Inputs/system-header-simulator-cxx.h
  test/Analysis/diagnostics/explicit-suppression.cpp
  test/Analysis/iterator-past-end.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28771.89211.patch
Type: text/x-patch
Size: 28091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170221/7907afd3/attachment-0001.bin>


More information about the cfe-commits mailing list