summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/BasicObjCFoundationChecks.h
diff options
context:
space:
mode:
authorJordy Rose <jediknil@belkadan.com>2010-07-06 02:34:42 +0000
committerJordy Rose <jediknil@belkadan.com>2010-07-06 02:34:42 +0000
commit40c5c24c06a1696b92e9bd98721ee6d0fa1d0182 (patch)
treecb4cea6b3dffb618cfe6082379457f163b695548 /clang/lib/Checker/BasicObjCFoundationChecks.h
parent2b6ac78e07485dbdf552afc8503dbbac8c6b846a (diff)
downloadbcm5719-llvm-40c5c24c06a1696b92e9bd98721ee6d0fa1d0182.tar.gz
bcm5719-llvm-40c5c24c06a1696b92e9bd98721ee6d0fa1d0182.zip
Improve NULL-checking for CFRetain/CFRelease. We now remember that the argument was non-NULL, and we report where the null assumption came from (like AttrNonNullChecker already did).
llvm-svn: 107633
Diffstat (limited to 'clang/lib/Checker/BasicObjCFoundationChecks.h')
-rw-r--r--clang/lib/Checker/BasicObjCFoundationChecks.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Checker/BasicObjCFoundationChecks.h b/clang/lib/Checker/BasicObjCFoundationChecks.h
index 679c6dc1df2..8fb05708708 100644
--- a/clang/lib/Checker/BasicObjCFoundationChecks.h
+++ b/clang/lib/Checker/BasicObjCFoundationChecks.h
@@ -30,9 +30,6 @@ GRSimpleAPICheck *CreateBasicObjCFoundationChecks(ASTContext& Ctx,
GRSimpleAPICheck *CreateAuditCFNumberCreate(ASTContext& Ctx,
BugReporter& BR);
-GRSimpleAPICheck *CreateAuditCFRetainRelease(ASTContext& Ctx,
- BugReporter& BR);
-
void RegisterNSErrorChecks(BugReporter& BR, GRExprEngine &Eng, const Decl &D);
void RegisterNSAutoreleasePoolChecks(GRExprEngine &Eng);
OpenPOWER on IntegriCloud