]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / contrib / llvm / tools / clang / include / clang / StaticAnalyzer / Frontend / CheckerRegistration.h
1 //===-- CheckerRegistration.h - Checker Registration Function-------*- 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 #ifndef LLVM_CLANG_SA_FRONTEND_CHECKERREGISTRATION_H
11 #define LLVM_CLANG_SA_FRONTEND_CHECKERREGISTRATION_H
12
13 namespace clang {
14   class AnalyzerOptions;
15   class LangOptions;
16   class Diagnostic;
17
18 namespace ento {
19   class CheckerManager;
20
21 CheckerManager *registerCheckers(const AnalyzerOptions &opts,
22                                  const LangOptions &langOpts,
23                                  Diagnostic &diags);
24
25 } // end ento namespace
26
27 } // end namespace clang
28
29 #endif