]> granicus.if.org Git - clang/commit
[analyzer] Drop support for GC mode in RetainCountChecker
authorGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 17 Aug 2018 21:40:38 +0000 (21:40 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 17 Aug 2018 21:40:38 +0000 (21:40 +0000)
commit4451356852a413770606fbb0e7cbbb8e28952378
tree1f3c7f53d7653ed46330c16935c287fe9a8ab619
parent4c84da47e9ca785daaa659962c6c797c24c8e5e7
[analyzer] Drop support for GC mode in RetainCountChecker

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340091 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
test/Analysis/CFDateGC.m [deleted file]
test/Analysis/Inputs/expected-plists/retain-release-path-notes-gc.m.plist [deleted file]
test/Analysis/Inputs/expected-plists/retain-release-path-notes.m.plist
test/Analysis/PR2599.m [deleted file]
test/Analysis/retain-release-gc-only.m [deleted file]
test/Analysis/retain-release-path-notes-gc.m [deleted file]
test/Analysis/retain-release-path-notes.m
test/Analysis/retain-release.m