[PATCH] D25993: [Objective-C] Add objc_subclassing_restricted attribute

2016-10-28 Thread Alex Lorenz via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL285391: [Objective-C] Add objc_subclassing_restricted attribute (authored by arphaman). Changed prior to commit: https://reviews.llvm.org/D25993?vs=76019&id=76175#toc Repository: rL LLVM https://rev

[PATCH] D25993: [Objective-C] Add objc_subclassing_restricted attribute

2016-10-27 Thread Aaron Ballman via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM Comment at: lib/Sema/SemaDeclObjC.cpp:3859 +// objc_subclassing_restricted attribute when it has that attribute as +// well (because of int

[PATCH] D25993: [Objective-C] Add objc_subclassing_restricted attribute

2016-10-27 Thread Alex Lorenz via cfe-commits
arphaman added inline comments. Comment at: lib/Sema/SemaDeclObjC.cpp:3859 +// objc_subclassing_restricted attribute when it has that attribute as +// well (because of interfaces imported from Swift). Therefore we have +// to check if we can subclass in th

[PATCH] D25993: [Objective-C] Add objc_subclassing_restricted attribute

2016-10-27 Thread Aaron Ballman via cfe-commits
aaron.ballman added inline comments. Comment at: lib/Sema/SemaDeclObjC.cpp:3859 +// objc_subclassing_restricted attribute when it has that attribute as +// well (because of interfaces imported from Swift). Therefore we have +// to check if we can subclass

[PATCH] D25993: [Objective-C] Add objc_subclassing_restricted attribute

2016-10-27 Thread Alex Lorenz via cfe-commits
arphaman updated this revision to Diff 76019. arphaman marked 3 inline comments as done. arphaman added a comment. The updated patch adds documentation and modifies the diagnostic message. Repository: rL LLVM https://reviews.llvm.org/D25993 Files: include/clang/Basic/Attr.td include/clan

[PATCH] D25993: [Objective-C] Add objc_subclassing_restricted attribute

2016-10-26 Thread Aaron Ballman via cfe-commits
aaron.ballman requested changes to this revision. aaron.ballman added inline comments. This revision now requires changes to proceed. Comment at: include/clang/Basic/Attr.td:1291 + let Subjects = SubjectList<[ObjCInterface], ErrorDiag>; + let Documentation = [Undocumented]; +}

[PATCH] D25993: [Objective-C] Add objc_subclassing_restricted attribute

2016-10-26 Thread Manman Ren via cfe-commits
manmanren accepted this revision. manmanren added a reviewer: manmanren. manmanren added a comment. This revision is now accepted and ready to land. LGTM. Manman Repository: rL LLVM https://reviews.llvm.org/D25993 ___ cfe-commits mailing list cf

[PATCH] D25993: [Objective-C] Add objc_subclassing_restricted attribute

2016-10-26 Thread Jordan Rose via cfe-commits
jordan_rose added a comment. Looks good from my end. Repository: rL LLVM https://reviews.llvm.org/D25993 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D25993: [Objective-C] Add objc_subclassing_restricted attribute

2016-10-26 Thread Alex Lorenz via cfe-commits
arphaman created this revision. arphaman added reviewers: aaron.ballman, jordan_rose. arphaman added a subscriber: cfe-commits. arphaman set the repository for this revision to rL LLVM. This patch adds an `objc_subclassing_restricted` attribute into clang. This attribute acts similarly to 'final'