diff options
| author | Jordy Rose <jediknil@belkadan.com> | 2011-09-02 05:55:19 +0000 |
|---|---|---|
| committer | Jordy Rose <jediknil@belkadan.com> | 2011-09-02 05:55:19 +0000 |
| commit | c49ec53e2910f51d5f548bcf7ef117d51e944d50 (patch) | |
| tree | c1799bb4e4c2e2f5901e2527c7c6d2cd47e7d70d /clang/test/Analysis/CGColorSpace.c | |
| parent | 94ce535647897412ad4d70c52e4a3d02ef520514 (diff) | |
| download | bcm5719-llvm-c49ec53e2910f51d5f548bcf7ef117d51e944d50.tar.gz bcm5719-llvm-c49ec53e2910f51d5f548bcf7ef117d51e944d50.zip | |
[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.
llvm-svn: 138998
Diffstat (limited to 'clang/test/Analysis/CGColorSpace.c')
| -rw-r--r-- | clang/test/Analysis/CGColorSpace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/CGColorSpace.c b/clang/test/Analysis/CGColorSpace.c index 4c6a03bf97c..1bd20fa1cfa 100644 --- a/clang/test/Analysis/CGColorSpace.c +++ b/clang/test/Analysis/CGColorSpace.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -analyzer-constraints=basic -verify %s -// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -analyzer-constraints=range -verify %s +// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-store=region -analyzer-constraints=basic -verify %s +// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-store=region -analyzer-constraints=range -verify %s typedef struct CGColorSpace *CGColorSpaceRef; extern CGColorSpaceRef CGColorSpaceCreateDeviceRGB(void); |

