]> granicus.if.org Git - clang/commit
[analyzer] Move the knowledge of whether or not GC is enabled for the current analysi...
authorJordy Rose <jediknil@belkadan.com>
Fri, 2 Sep 2011 05:55:19 +0000 (05:55 +0000)
committerJordy Rose <jediknil@belkadan.com>
Fri, 2 Sep 2011 05:55:19 +0000 (05:55 +0000)
commit17a38e2636a8b1ce473fc6504c4b16cb09db29f4
tree9d424491aa386b6d013dee826eb19f08ef767852
parente648ac33e52c0c28914abdf8969b01ccf892924f
[analyzer] Move the knowledge of whether or not GC is enabled for the current analysis from CFRefCount to ExprEngine.

Remove TransferFuncs from ExprEngine and AnalysisConsumer.

Demote RetainReleaseChecker to a regular checker, and give it the name osx.cocoa.RetainCount (class name change coming shortly). Update tests accordingly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138998 91177308-0d34-0410-b5e6-96231b3b80d8
30 files changed:
include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
lib/StaticAnalyzer/Checkers/Checkers.td
lib/StaticAnalyzer/Core/CFRefCount.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
test/Analysis/CFDateGC.m
test/Analysis/CFNumber.c
test/Analysis/CFRetainRelease_NSAssertionHandler.m
test/Analysis/CGColorSpace.c
test/Analysis/NSPanel.m
test/Analysis/NSString.m
test/Analysis/NSWindow.m
test/Analysis/PR2599.m
test/Analysis/cfref_PR2519.c
test/Analysis/dead-stores.m
test/Analysis/delegates.m
test/Analysis/idempotent-operations.m
test/Analysis/objc-arc.m
test/Analysis/plist-output-alternate.m
test/Analysis/pr_2542_rdar_6793404.m
test/Analysis/properties.m
test/Analysis/rdar-6562655.m
test/Analysis/refcnt_naming.m
test/Analysis/retain-release-gc-only.m
test/Analysis/retain-release-path-notes-gc.m
test/Analysis/retain-release-path-notes.m
test/Analysis/retain-release-region-store.m
test/Analysis/retain-release.m
test/Analysis/retain-release.mm