Summary: 1) Fixes some false negatives when a method annotated with `nullable` in the header is not annotated in the implementation and the attribute lookup returns the implementation. In that case, we should follow the information given in the header. 2) Fixes some false positives when annotations are in the other way around, i.e. annotated in the implementation but not in the headers. For now, there should be no report in this case, but the analysis should be extended to report the inconsistency between the header and the implementation 3) Fixes some cases of weird reports caused by name conflicts where the method in the include has the same name has another method annotated differently. Reviewed By: jvillard Differential Revision: D6935379 fbshipit-source-id: 3577eb0master
parent
1d2d6b7976
commit
89ec1effde
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* 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/Foundation.h>
|
||||
|
||||
@interface L : NSObject
|
||||
- (NSObject*)libraryMethod;
|
||||
- (NSObject* _Nullable)nullableLibraryMethod;
|
||||
@end
|
Loading…
Reference in new issue