You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dulma Churchill
61d5fde7c4
[clang] Adding implicit implementation of dealloc methods to ObjC classes
...
Summary:
This models ARC implementation of dealloc, see https://clang.llvm.org/docs/AutomaticReferenceCounting.html#dealloc . Dealloc methods can be added to ObjC classes to free C memory for example, but the deallocation of the ObjC instance variables of the object is done automatically. So here we add this explicitly to Infer:
1. First, we add an empty dealloc method when it is not written explicitly.
2. For each dealloc method (including the implicitly added ones) we add calls to dealloc of the ObjC instance variables.
Reviewed By: jvillard
Differential Revision: D21883546
fbshipit-source-id: f5d4930f2
5 years ago
..
blocks_in_heap
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
field_superclass
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
global_const
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
initialization
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
memory_leaks_benchmark
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
npe
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
procdescs
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
property
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
resource_leaks
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
returnstmt
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
subtyping
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
taint
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
variadic_methods
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
warnings
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
Makefile
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
issues.exp
[clang] Adding implicit implementation of dealloc methods to ObjC classes
5 years ago
shared
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago