blob: f4966e8ae838867db6dae2da23680661a442b9d7 [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
Ted Kremenek9ef65372010-12-23 07:20:52 +000024namespace ento {
Argyrios Kyrtzidis5a4f98f2010-12-22 18:53:20 +000025
26class BugReporter;
Argyrios Kyrtzidisd2592a32010-12-22 18:53:44 +000027class ExprEngine;
Mike Stump1eb44332009-09-09 15:08:12 +000028
Argyrios Kyrtzidisd2592a32010-12-22 18:53:44 +000029void RegisterNSErrorChecks(BugReporter& BR, ExprEngine &Eng, const Decl &D);
30void RegisterNSAutoreleasePoolChecks(ExprEngine &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