Reviewed By: mbouaziz Differential Revision: D7339584 fbshipit-source-id: e0b47eemaster
parent
862bbdb5fc
commit
96a2f8d689
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) 2018 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
@interface ListAdapter
|
||||
|
||||
@property(nonatomic, nullable, weak) id dataSource;
|
||||
@property(nonatomic, nullable, strong) id dataSourceStrong;
|
||||
|
||||
@end
|
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (c) 2018 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
#import "ListAdapter.h"
|
||||
|
||||
@implementation ListAdapter
|
||||
|
||||
- (void)setDataSource:(id)dataSource {
|
||||
_dataSource = dataSource;
|
||||
}
|
||||
|
||||
- (void)setDataSourceStrong:(id)dataSourceStrong {
|
||||
_dataSourceStrong = dataSourceStrong;
|
||||
}
|
||||
|
||||
@end
|
@ -1 +1,2 @@
|
||||
build_systems/codetoanalyze/objc_retain_cycles_weak/TimeSpent.m, retain_cycle_weak_bad, 4, RETAIN_CYCLE, [start of procedure retain_cycle_weak_bad(),start of procedure init,start of procedure initWithDelegate:,return from a call to AnalyticsTimeSpent_initWithDelegate:,return from a call to TimeSpent_init,start of procedure initWithStrongDelegate:,return from a call to AnalyticsTimeSpent_initWithStrongDelegate:,start of procedure setAnalyticsTimeSpent:,return from a call to TimeSpent_setAnalyticsTimeSpent:]
|
||||
build_systems/codetoanalyze/objc_retain_cycles_weak/TimeSpent.m, TimeSpent_init_bad, 2, RETAIN_CYCLE, ERROR, [start of procedure init_bad,Condition is true]
|
||||
build_systems/codetoanalyze/objc_retain_cycles_weak/TimeSpent.m, retain_cycle_weak_bad, 4, RETAIN_CYCLE, ERROR, [start of procedure retain_cycle_weak_bad(),start of procedure init,start of procedure initWithDelegate:,return from a call to AnalyticsTimeSpent_initWithDelegate:,return from a call to TimeSpent_init,start of procedure initWithStrongDelegate:,return from a call to AnalyticsTimeSpent_initWithStrongDelegate:]
|
||||
|
Loading…
Reference in new issue