blob: 6ad850b973572b1a0d18bc0d9569158fabdaab86 [file] [log] [blame]
Ted Kremeneka4d60b62008-03-27 17:17:22 +00001//== BasicObjCFoundationChecks.h - Simple Apple-Foundation checks -*- C++ -*--//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file defines BasicObjCFoundationChecks, a class that encapsulates
11// a set of simple checks to run on Objective-C code using Apple's Foundation
12// classes.
13//
14//===----------------------------------------------------------------------===//
15
Ted Kremeneka4d60b62008-03-27 17:17:22 +000016#ifndef LLVM_CLANG_ANALYSIS_BASICOBJCFOUNDATIONCHECKS
17#define LLVM_CLANG_ANALYSIS_BASICOBJCFOUNDATIONCHECKS
18
19namespace clang {
Mike Stump11289f42009-09-09 15:08:12 +000020
Ted Kremeneka4d60b62008-03-27 17:17:22 +000021class ASTContext;
Ted Kremenekfc5d0672009-02-04 23:49:09 +000022class BugReporter;
Benjamin Kramer435ef9b2009-11-28 09:41:31 +000023class Decl;
Ted Kremenekfc5d0672009-02-04 23:49:09 +000024class GRExprEngine;
Mike Stump11289f42009-09-09 15:08:12 +000025
Zhongxing Xu6be1a4e2009-08-21 02:18:44 +000026void RegisterNSErrorChecks(BugReporter& BR, GRExprEngine &Eng, const Decl &D);
Ted Kremenek18c7cee2009-11-03 08:03:59 +000027void RegisterNSAutoreleasePoolChecks(GRExprEngine &Eng);
Mike Stump11289f42009-09-09 15:08:12 +000028
Ted Kremeneka4d60b62008-03-27 17:17:22 +000029} // end clang namespace
30
31#endif