[PATCH] D70818: [Analyzer] Model STL Algoirthms to improve the iterator checkers

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 5 07:12:10 PST 2020


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

Updated: checker moved to alpha.cplusplus (until at least one of the iterator-related checkers gets out of alpha state or a new non-alpha container checker is created). Error-branch is protected by an option. New constraint added for the non-error branch: the found value is not behind the parameter denoting the beginning of the lookup range.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70818/new/

https://reviews.llvm.org/D70818

Files:
  clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
  clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
  clang/lib/StaticAnalyzer/Checkers/Iterator.cpp
  clang/lib/StaticAnalyzer/Checkers/Iterator.h
  clang/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp
  clang/lib/StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp
  clang/test/Analysis/Inputs/system-header-simulator-cxx.h
  clang/test/Analysis/analyzer-config.c
  clang/test/Analysis/stl-algorithm-modeling.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70818.242607.patch
Type: text/x-patch
Size: 48754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200205/365ccd97/attachment-0001.bin>


More information about the cfe-commits mailing list