[PATCH] D76590: [Analyzer] Model `empty()` member function of containers
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 4 09:18:51 PDT 2020
baloghadamsoftware updated this revision to Diff 289981.
baloghadamsoftware added a comment.
`isIterator()` updated because it did not work perfectly with the refactored `handleBegin()` after rebase. (Why did it work before the rebase?) The problem was that it only looked for the necessary operators in the actual class but not in its bases.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76590/new/
https://reviews.llvm.org/D76590
Files:
clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
clang/lib/StaticAnalyzer/Checkers/InvalidatedIteratorChecker.cpp
clang/lib/StaticAnalyzer/Checkers/Iterator.cpp
clang/lib/StaticAnalyzer/Checkers/Iterator.h
clang/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp
clang/lib/StaticAnalyzer/Checkers/IteratorRangeChecker.cpp
clang/lib/StaticAnalyzer/Checkers/MismatchedIteratorChecker.cpp
clang/lib/StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp
clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
clang/test/Analysis/Inputs/system-header-simulator-cxx.h
clang/test/Analysis/container-modeling.cpp
clang/test/Analysis/diagnostics/explicit-suppression.cpp
clang/test/Analysis/iterator-modeling.cpp
clang/test/Analysis/smart-ptr-text-output.cpp
clang/unittests/StaticAnalyzer/TestReturnValueUnderConstruction.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76590.289981.patch
Type: text/x-patch
Size: 80749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200904/0e7ffb4d/attachment-0001.bin>
More information about the cfe-commits
mailing list