George Karpenkov
04951d4fc3
[analyzer] Extend ObjCAutoreleaseWriteChecker to catch block declarations with autoreleasing variables
...
Differential Revision: https://reviews.llvm.org/D46984
llvm-svn: 332546
2018-05-16 22:47:05 +00:00
George Karpenkov
434019a617
[analyzer] Extend the ObjCAutoreleaseWriteChecker to warn on captures as well
...
A common pattern is that the code in the block does not write into the
variable explicitly, but instead passes it to a helper function which
performs the write.
Differential Revision: https://reviews.llvm.org/D46772
llvm-svn: 332300
2018-05-14 21:39:54 +00:00
George Karpenkov
3ee2a6bd5c
[analyzer] Ignore the nullability quantifiers for autoreleasewritechecker
...
llvm-svn: 332136
2018-05-11 20:39:19 +00:00
Artem Dergachev
befce13328
[analyzer] ObjCAutoreleaseWrite: Support a few more APIs and fix warning text.
...
API list and improved warning text composed by Devin Coughlin.
llvm-svn: 331089
2018-04-27 22:00:51 +00:00
Douglas Yung
0934c19982
Adding UNSUPPORTED: system-windows at George's request until the problem can be debugged.
...
llvm-svn: 328853
2018-03-30 01:29:07 +00:00
George Karpenkov
f05d495669
[analyzer] Fix target triple for autorelease-write-checker test
...
llvm-svn: 328837
2018-03-29 22:28:04 +00:00
George Karpenkov
d676ba0f28
[analyzer] Path-insensitive checker for writes into an auto-releasing pointer
...
from the wrong auto-releasing pool, as such writes may crash.
rdar://25301111
Differential Revision: https://reviews.llvm.org/D44722
llvm-svn: 328827
2018-03-29 20:55:34 +00:00