[Objective-C] Miscellaneous -fobjc-weak Fixes
Summary: After examining the remaining uses of LangOptions.ObjCAutoRefCount, found a some additional places to also check for ObjCWeak not covered by previous test cases. Added a test file to verify all the code paths that were changed. Reviewers: rsmith, doug.gregor, rjmccall Reviewed By: rjmccall Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D31007 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299015 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Sema/SemaCast.cpp 2 additions, 2 deletionslib/Sema/SemaCast.cpp
- lib/Sema/SemaDecl.cpp 6 additions, 6 deletionslib/Sema/SemaDecl.cpp
- lib/Sema/SemaDeclCXX.cpp 1 addition, 2 deletionslib/Sema/SemaDeclCXX.cpp
- lib/Sema/SemaInit.cpp 4 additions, 8 deletionslib/Sema/SemaInit.cpp
- test/SemaObjCXX/objc-weak.mm 28 additions, 0 deletionstest/SemaObjCXX/objc-weak.mm
Loading
Please register or sign in to comment