[PATCH] D62688: [Analyzer] Iterator Checkers - Model `empty()` method of containers

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 30 09:24:18 PDT 2019


baloghadamsoftware created this revision.
baloghadamsoftware added reviewers: NoQ, Szelethus.
baloghadamsoftware added a project: clang.
Herald added subscribers: Charusso, gamesh411, donat.nagy, mikhail.ramalho, a.sidorin, rnkovacs, szepet, xazax.hun, whisperity.

Modeling of the `empty()` method is essential for more accurate reporting past-the-end iterator access.


Repository:
  rC Clang

https://reviews.llvm.org/D62688

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62688.202226.patch
Type: text/x-patch
Size: 7814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190530/f432fdc4/attachment.bin>


More information about the cfe-commits mailing list