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.
Sungkeun Cho
e4b3971441
[frontend] Fix capture mode in ObjC
...
Summary:
The frontend of ObjC regarding to captured variable was incorrect: it set capturing mode as
by-reference always, but it actually translaged as if all captured variables were passed with
by-value. This diff fixes this based on the document.
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Blocks/Articles/bxVariables.html
* global variable: by reference
* local variable: by value
* `static` local variable: by reference
* `__block` local variable: by reference
* parameter: by value
Reviewed By: jvillard
Differential Revision: D25306122
fbshipit-source-id: ec499d705
4 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
[frontend] Fix capture mode in ObjC
4 years ago
npe
Revert "[sqlite] enforce attribute.is_defined iff procdesc is not NULL"
4 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
specialized_methods_with_blocks
[closures preanalysis] [1/n] Adding first step of preanalysis to specialize methods with concrete closures they are called with
4 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
[closures preanalysis] [1/n] Adding first step of preanalysis to specialize methods with concrete closures they are called with
4 years ago
issues.exp
[frontend] Fix capture mode in ObjC
4 years ago
shared
[biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago