blob: 7fdccdcacb8a8b732ad244b949ba9efc18ccd539 [file] [log] [blame]
Ted Kremenek52755612008-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
Argyrios Kyrtzidis5a4f98f2010-12-22 18:53:20 +000016#ifndef LLVM_CLANG_GR_BASICOBJCFOUNDATIONCHECKS
17#define LLVM_CLANG_GR_BASICOBJCFOUNDATIONCHECKS
Ted Kremenek52755612008-03-27 17:17:22 +000018
19namespace clang {
Mike Stump1eb44332009-09-09 15:08:12 +000020
Ted Kremenek52755612008-03-27 17:17:22 +000021class ASTContext;
Benjamin Kramer0c5db872009-11-28 09:41:31 +000022class Decl;
Argyrios Kyrtzidis5a4f98f2010-12-22 18:53:20 +000023
24namespace GR {
25
26class BugReporter;
Ted Kremenekcf118d42009-02-04 23:49:09 +000027class GRExprEngine;
Mike Stump1eb44332009-09-09 15:08:12 +000028
Zhongxing Xu5ab128b2009-08-21 02:18:44 +000029void RegisterNSErrorChecks(BugReporter& BR, GRExprEngine &Eng, const Decl &D);
Ted Kremenek54cb7cc2009-11-03 08:03:59 +000030void RegisterNSAutoreleasePoolChecks(GRExprEngine &Eng);
Mike Stump1eb44332009-09-09 15:08:12 +000031
Argyrios Kyrtzidis5a4f98f2010-12-22 18:53:20 +000032} // end GR namespace
33
Ted Kremenek52755612008-03-27 17:17:22 +000034} // end clang namespace
35
36#endif