Skip to content

Commit

Permalink
[analyzer] Drop support for GC mode in RetainCountChecker
Browse files Browse the repository at this point in the history
A lot of code in RetainCountChecker deals with GC mode.
Given that GC mode is deprecated, Apple does not ship runtime for it,
and modern compiler toolchain does not support it, it makes sense to
remove the code dealing with it in order to aid understanding of
RetainCountChecker.

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

llvm-svn: 340091
  • Loading branch information
George Karpenkov committed Aug 17, 2018
1 parent ea4b476 commit 7390ddc
Show file tree
Hide file tree
Showing 10 changed files with 585 additions and 2,967 deletions.
4 changes: 0 additions & 4 deletions clang/include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h
Expand Up @@ -65,10 +65,6 @@ enum ArgEffect {
/// if CFRetain has been called on the argument.
IncRef,

/// The argument acts as if has been passed to CFMakeCollectable, which
/// transfers the object to the Garbage Collector under GC.
MakeCollectable,

/// The argument is a pointer to a retain-counted object; on exit, the new
/// value of the pointer is a +0 value or NULL.
UnretainedOutParameter,
Expand Down

0 comments on commit 7390ddc

Please sign in to comment.