[PATCH] D77571: [clang-tidy] Add check to find calls to NSInvocation methods under ARC that don't have proper object argument lifetimes.
Michael Wyman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 9 10:28:26 PDT 2020
mwyman updated this revision to Diff 256332.
mwyman marked 2 inline comments as done.
mwyman added a comment.
Adding non-object types for argument to getArgument:atIndex: to verify they don't cause problems.
Done while investigating Harbormaster failures.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77571/new/
https://reviews.llvm.org/D77571
Files:
clang-tools-extra/clang-tidy/objc/CMakeLists.txt
clang-tools-extra/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.cpp
clang-tools-extra/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.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-nsinvocation-argument-lifetime.rst
clang-tools-extra/test/clang-tidy/checkers/objc-nsinvocation-argument-lifetime.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77571.256332.patch
Type: text/x-patch
Size: 17218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200409/9796d9aa/attachment-0001.bin>
More information about the cfe-commits
mailing list