diff options
author | Michael Wyman <michael@mwyman.com> | 2020-04-05 00:28:34 -0700 |
---|---|---|
committer | Michael Wyman <michael@mwyman.com> | 2020-04-10 08:51:21 -0700 |
commit | 89f1321fe4ef203a4674213280b430a274dc2001 (patch) | |
tree | ae506c8975d8bf93c05602674e75af4b8cbfe6ef /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 65b8b643b4ba75a2712ddc210aeaa7c6527f3bb4 (diff) | |
download | llvm-89f1321fe4ef203a4674213280b430a274dc2001.zip llvm-89f1321fe4ef203a4674213280b430a274dc2001.tar.gz llvm-89f1321fe4ef203a4674213280b430a274dc2001.tar.bz2 |
[clang-tidy] Add check to find calls to NSInvocation methods under ARC that don't have proper object argument lifetimes.
Summary: This check is similar to an ARC Migration check that warned about this incorrect usage under ARC, but most projects are no longer undergoing migration from pre-ARC code. The documentation for NSInvocation is not explicit about these requirements and incorrect usage has been found in many of our projects.
Reviewers: stephanemoore, benhamilton, dmaclach, alexfh, aaron.ballman, hokein, njames93
Reviewed By: stephanemoore, benhamilton, aaron.ballman
Subscribers: xazax.hun, Eugene.Zelenko, mgorny, cfe-commits
Tags: #clang, #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D77571
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions