[PATCH] D25660: [Analyzer] Checker for iterators dereferenced beyond their range.
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 8 02:05:19 PST 2016
baloghadamsoftware added a comment.
https://reviews.llvm.org/D27202 is now a dependency, but cannot add it.
================
Comment at: lib/StaticAnalyzer/Checkers/IteratorPastEndChecker.cpp:166
+IteratorPastEndChecker::IteratorPastEndChecker() {
+ PastEndBugType.reset(new BugType(this, "Iterator Past End", "C++ STL Error"));
+ PastEndBugType->setSuppressOnSink(true);
----------------
zaks.anna wrote:
> How about: "C++ STL Error" -> "Misuse of STL APIs"
OK, I copied it from another checker :-)
https://reviews.llvm.org/D25660
More information about the cfe-commits
mailing list