George Karpenkov
6794aa702a
[analyzer] [RetainCountChecker] Bugfix: in non-OSObject-mode, do not track CXX method calls
...
Differential Revision: https://reviews.llvm.org/D57782
llvm-svn: 353227
2019-02-05 22:26:44 +00:00
George Karpenkov
77eae6d4c4
[analyzer] [RetainCountChecker] Bugfix for tracking top-level parameters of Objective-C methods
...
Differential Revision: https://reviews.llvm.org/D57433
llvm-svn: 352588
2019-01-30 02:11:04 +00:00
George Karpenkov
d37ff4e888
[analyzer] [RetainCountChecker] Track input parameters to the top-level function
...
Track them for ISL/OS objects by default, and for NS/CF under a flag.
rdar://47536377
Differential Revision: https://reviews.llvm.org/D57356
llvm-svn: 352534
2019-01-29 19:29:59 +00:00
George Karpenkov
b0fc58b57c
[analyzer] [RetainSummaryManager] [NFC] Split one function into two, as it's really doing two things
...
Differential Revision: https://reviews.llvm.org/D57201
llvm-svn: 352533
2019-01-29 19:29:45 +00:00
George Karpenkov
2e46667853
[analyzer] [ARCMT] [NFC] Unify entry point into RetainSummaryManager
...
Just use one single entry point, since we have AnyCall utility now.
Differential Revision: https://reviews.llvm.org/D57346
llvm-svn: 352532
2019-01-29 19:29:33 +00:00
George Karpenkov
0f3bbbaec9
[analyzer] [RetainCountChecker] Support 'taggedRetain' and 'taggedRelease'
...
Differential Revision: https://reviews.llvm.org/D57211
llvm-svn: 352530
2019-01-29 19:29:07 +00:00
George Karpenkov
6fdd2bd503
[analyzer] Port RetainSummaryManager to the new AnyCall interface, decouple ARCMT from the analyzer
...
rdar://19694750
Differential Revision: https://reviews.llvm.org/D57127
llvm-svn: 352149
2019-01-25 01:24:04 +00:00
Bruno Cardoso Lopes
bb3b7cff96
Revert "[analyzer] [NFC] Split up RetainSummaryManager from RetainCountChecker"
...
This reverts commit a786521fa66c72edd308baff0c08961b6d964fb1.
Bots haven't caught up yet, but broke modules build with:
../tools/clang/include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h:18:10:
fatal error: cyclic dependency in module 'Clang_StaticAnalyzer_Core':
Clang_StaticAnalyzer_Core -> Clang_Analysis ->
Clang_StaticAnalyzer_Checkers -> Clang_StaticAnalyzer_Core
^
llvm-svn: 340117
2018-08-18 03:22:11 +00:00
George Karpenkov
0ac54fad53
[analyzer] [NFC] Split up RetainSummaryManager from RetainCountChecker
...
ARCMigrator is using code from RetainCountChecker, which is a layering
violation (and it also does it badly, by using a different header, and
then relying on implementation being present in a header file).
This change splits up RetainSummaryManager into a separate library in
lib/Analysis, which can be used independently of a checker.
Differential Revision: https://reviews.llvm.org/D50934
llvm-svn: 340114
2018-08-18 01:45:50 +00:00