[clang-tidy] Migrate objc-forbidden-subclassing to use isDerivedFrom 🚛
authorStephane Moore <mog@google.com>
Fri, 16 Aug 2019 01:52:17 +0000 (01:52 +0000)
committerStephane Moore <mog@google.com>
Fri, 16 Aug 2019 01:52:17 +0000 (01:52 +0000)
commit8c90c1d2d57d02959bdc7f8cf1c53b930191dff3
treeb65f58cf881a19351ca57fd2021b0d2ca911d1d1
parentba3d595f93a45965adb4f47bfc57e28c00ba8942
[clang-tidy] Migrate objc-forbidden-subclassing to use isDerivedFrom ðŸš›

Summary:
This migrates objc-forbidden-subclassing to `isDerivedFrom` as it now
supports matching Objective-C interface declarations.

Test Notes:
Ran clang tools tests.

Reviewers: aaron.ballman, gribozavr

Reviewed By: aaron.ballman

Subscribers: xazax.hun, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66269

llvm-svn: 369076
clang-tools-extra/clang-tidy/objc/ForbiddenSubclassingCheck.cpp