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 the implementation as well. ---------------- aaron.ballman wrote: > Should this be mentioned in the docs? I think this more of an implementation detail. You typically wouldn't have `@interface`s in Objective-C code without corresponding `@implementation`s, so the attribute will act as expected for most cases. As well as that, you typically wouldn't care how Swift interfaces are declared in Objective-C. 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