Objective-C arc: Diagnose when user attempts to
synthesize a property getter method that overrides a method definition named 'retain' and the like. Fixes // rdar://13885083 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182039 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 1 addition, 1 deletioninclude/clang/Basic/DiagnosticSemaKinds.td
- lib/Sema/SemaDeclObjC.cpp 1 addition, 1 deletionlib/Sema/SemaDeclObjC.cpp
- lib/Sema/SemaObjCProperty.cpp 12 additions, 0 deletionslib/Sema/SemaObjCProperty.cpp
- test/SemaObjC/arc-property-lifetime.m 23 additions, 0 deletionstest/SemaObjC/arc-property-lifetime.m
Loading
Please register or sign in to comment