]> granicus.if.org Git - clang/commit
Implement the 'null_resettable' attribute for Objective-C properties.
authorDouglas Gregor <dgregor@apple.com>
Fri, 19 Jun 2015 18:14:46 +0000 (18:14 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 19 Jun 2015 18:14:46 +0000 (18:14 +0000)
commita9b97e51df20b5d2d3de662a82cd73c12422b3dc
treeebfe9a2d8c1252f9a14fee2e3aaa33e6a0e37c05
parente3a960065dd25adbb9ce2ef49194afd791132db5
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
include/clang/AST/DeclObjC.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/DeclSpec.h
include/clang/Sema/Sema.h
lib/AST/DeclPrinter.cpp
lib/Parse/ParseObjc.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaObjCProperty.cpp
test/SemaObjC/nullability.m