[PATCH] D53812: [Analyzer] Iterator Checker - Forbid increments past the begin() and decrements past the end() of containers
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 1 07:55:03 PST 2018
baloghadamsoftware updated this revision to Diff 176256.
baloghadamsoftware added a comment.
Thank you for the review!
You are absolutely right, these error messages were not accurate and even misleading. Now I updated them. To achieve this I also had to separate the function `isOutOfRange()` into three different functions.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D53812/new/
https://reviews.llvm.org/D53812
Files:
lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
test/Analysis/iterator-range.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53812.176256.patch
Type: text/x-patch
Size: 20432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181201/c0023686/attachment-0001.bin>
More information about the cfe-commits
mailing list