[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)
commit7390ddc968c52a0580c2eefdb4b5bc714fe3efc3
tree1c9936bba68e3678170abd1ed1b2cff4fdca4bfa
parentea4b476a301ae69fe10cd4e2bc726d3f3feccae4
[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

llvm-svn: 340091
clang/include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
clang/test/Analysis/CFDateGC.m [deleted file]
clang/test/Analysis/Inputs/expected-plists/retain-release-path-notes-gc.m.plist [deleted file]
clang/test/Analysis/Inputs/expected-plists/retain-release-path-notes.m.plist
clang/test/Analysis/PR2599.m [deleted file]
clang/test/Analysis/retain-release-gc-only.m [deleted file]
clang/test/Analysis/retain-release-path-notes-gc.m [deleted file]
clang/test/Analysis/retain-release-path-notes.m
clang/test/Analysis/retain-release.m