Implement the 'null_resettable' attribute for Objective-C properties.
'null_resettable' properties are those whose getters return nonnull but whose setters take nil, to "reset" the property to some default. Implements rdar://problem/19051334. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240155 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/DeclObjC.h 3 additions, 2 deletionsinclude/clang/AST/DeclObjC.h
- include/clang/Basic/DiagnosticSemaKinds.td 4 additions, 0 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- include/clang/Sema/DeclSpec.h 3 additions, 2 deletionsinclude/clang/Sema/DeclSpec.h
- include/clang/Sema/Sema.h 3 additions, 0 deletionsinclude/clang/Sema/Sema.h
- lib/AST/DeclPrinter.cpp 8 additions, 2 deletionslib/AST/DeclPrinter.cpp
- lib/Parse/ParseObjc.cpp 11 additions, 0 deletionslib/Parse/ParseObjc.cpp
- lib/Sema/SemaDeclObjC.cpp 3 additions, 0 deletionslib/Sema/SemaDeclObjC.cpp
- lib/Sema/SemaObjCProperty.cpp 60 additions, 2 deletionslib/Sema/SemaObjCProperty.cpp
- test/SemaObjC/nullability.m 39 additions, 0 deletionstest/SemaObjC/nullability.m
Loading
Please register or sign in to comment