[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 14:49:33 PST 2020
mwyman updated this revision to Diff 248611.
mwyman added a comment.
Don't provide fix-it hints when the unavailable attribute is inside a macro, unless within a config-whitelisted macro.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75569/new/
https://reviews.llvm.org/D75569
Files:
clang-tools-extra/clang-tidy/objc/CMakeLists.txt
clang-tools-extra/clang-tidy/objc/MethodUnavailableNotOverrideCheck.cpp
clang-tools-extra/clang-tidy/objc/MethodUnavailableNotOverrideCheck.h
clang-tools-extra/clang-tidy/objc/ObjCTidyModule.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/objc-method-unavailable-not-override.rst
clang-tools-extra/test/clang-tidy/checkers/objc-method-unavailable-not-override.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75569.248611.patch
Type: text/x-patch
Size: 12873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200305/9f78bcbb/attachment-0001.bin>
More information about the cfe-commits
mailing list