blob: df2992b05453b815088d694a84fb4ab8c558c7c5 [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
16#include "clang/Analysis/PathSensitive/ExplodedGraph.h"
17#include "clang/Analysis/PathSensitive/GRSimpleAPICheck.h"
18#include "clang/Analysis/PathSensitive/ValueState.h"
19#include "clang/Analysis/PathSensitive/AnnotatedPath.h"
20#include "clang/Analysis/PathDiagnostic.h"
21#include "clang/AST/Expr.h"
22#include "clang/AST/ASTContext.h"
23#include "llvm/Support/Compiler.h"
24
25#ifndef LLVM_CLANG_ANALYSIS_BASICOBJCFOUNDATIONCHECKS
26#define LLVM_CLANG_ANALYSIS_BASICOBJCFOUNDATIONCHECKS
27
28namespace clang {
29
30class GRSimpleAPICheck;
31class ASTContext;
32class ValueStateManager;
33
34GRSimpleAPICheck* CreateBasicObjCFoundationChecks(ASTContext& Ctx,
35 ValueStateManager* VMgr);
36
37} // end clang namespace
38
39#endif