[PATCH] D62893: [Analyzer] Iterator Checkers - Make range errors and invalidated access fatal
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 5 02:18:38 PDT 2019
baloghadamsoftware added a comment.
I left errors caused by mismatched iterators non-fatal for now. This is debatable because passing a function expecting a range iterators for two different containers or applying a container modifier using a mismatched iterator also leads to undefined behavior. However, comparing two iterators of different containers always returns false thus it is non-fatal. Maybe we should separate these two cases and report the first one as fatal, the second one as non-fatal errors.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62893/new/
https://reviews.llvm.org/D62893
More information about the cfe-commits
mailing list