llvm-project/clang/test/Analysis/Inputs
George Karpenkov 7112483272 [analyzer] Syntactic matcher for leaks associated with run loop and autoreleasepool
A checker for detecting leaks resulting from allocating temporary
autoreleasing objects before starting the main run loop.

Checks for two antipatterns:

1. ObjCMessageExpr followed by [[NARunLoop mainRunLoop] run] in the same
autorelease pool.

2. ObjCMessageExpr followed by [[NARunLoop mainRunLoop] run] in no
autorelease pool.

Happens-before relationship is modeled purely syntactically.

rdar://39299145

Differential Revision: https://reviews.llvm.org/D49528

llvm-svn: 337876
2018-07-25 01:27:15 +00:00
..
Models
ctu-chain.cpp Resubmit [analyzer] Support for naive cross translation unit analysis 2018-03-01 14:54:16 +00:00
ctu-other.cpp [analyzer][ctu] fix unsortable diagnostics 2018-07-04 14:12:58 +00:00
externalFnMap.txt [analyzer][ctu] fix unsortable diagnostics 2018-07-04 14:12:58 +00:00
localization-pch.h [analyzer] Use lazily created buffer in EmptyLocalizationContextChecker 2016-08-30 23:07:14 +00:00
qt-simulator.h [analyzer] Add another exception for Qt in MallocChecker 2016-12-16 12:21:55 +00:00
system-header-simulator-cxx-std-suppression.h [analyzer] Suppress false positives in std::shared_ptr 2016-07-06 21:52:55 +00:00
system-header-simulator-cxx.h [Analyzer] Iterator Checker - Part 2: Increment, decrement operators and ahead-of-begin checks 2018-06-28 10:58:53 +00:00
system-header-simulator-for-cxx-uninitialized-object.h [analyzer] Checker for uninitialized C++ objects 2018-06-18 11:50:17 +00:00
system-header-simulator-for-malloc.h
system-header-simulator-for-nullability-cxx.h [analyzer] Do not crash in CallEvent.getReturnType() 2018-03-24 01:53:12 +00:00
system-header-simulator-for-nullability.h [analyzer] [NFC] Remove unused Extensive diagnostic setting, 2018-06-12 19:07:41 +00:00
system-header-simulator-for-objc-dealloc.h [analyzer] Syntactic matcher for leaks associated with run loop and autoreleasepool 2018-07-25 01:27:15 +00:00
system-header-simulator-for-pthread-lock.h
system-header-simulator-for-simple-stream.h
system-header-simulator-for-valist.h Reapply "[analyzer] Added valist related checkers." 2016-08-22 11:21:30 +00:00
system-header-simulator-objc.h [analyzer] Refer to macro names in diagnostics for macros representing a literal 2016-12-15 22:55:11 +00:00
system-header-simulator.h [analyzer] Add missing pre-post-statement callbacks for OffsetOfExpr. 2018-02-10 00:55:49 +00:00