Reviewed By: d16r Differential Revision: D15198762 fbshipit-source-id: 88e8603d1master
parent
65824ed7a9
commit
4f982e9f63
@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2019-present, Facebook, Inc.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
|
||||||
|
@interface FooClass : NSObject
|
||||||
|
|
||||||
|
// this should be flagged via `has_unavailable_attribute`
|
||||||
|
+ (instancetype)new NS_UNAVAILABLE;
|
||||||
|
+ (instancetype)newWithFoo:(id<NSObject>)foo;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@implementation FooClass
|
||||||
|
@end
|
Loading…
Reference in new issue