[PATCH] D75569: [clang-tidy] New check for methods marked __attribute__((unavailable)) that do not override a method from a superclass.

Michael Wyman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 5 23:30:50 PST 2020


mwyman marked an inline comment as done.
mwyman added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/objc/MethodUnavailableNotOverrideCheck.cpp:80
+void MethodUnavailableNotOverrideCheck::registerMatchers(MatchFinder *Finder) {
+  if (!getLangOpts().ObjC)
+    return;
----------------
njames93 wrote:
> This check is surplus to requirements now that there is the `isLanguageVersionSupported` check
Oops, forgot to delete it here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75569/new/

https://reviews.llvm.org/D75569





More information about the cfe-commits mailing list