Ted Kremenek | 5275561 | 2008-03-27 17:17:22 +0000 | [diff] [blame^] | 1 | //== 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 | |
| 28 | namespace clang { |
| 29 | |
| 30 | class GRSimpleAPICheck; |
| 31 | class ASTContext; |
| 32 | class ValueStateManager; |
| 33 | |
| 34 | GRSimpleAPICheck* CreateBasicObjCFoundationChecks(ASTContext& Ctx, |
| 35 | ValueStateManager* VMgr); |
| 36 | |
| 37 | } // end clang namespace |
| 38 | |
| 39 | #endif |