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_STATICANALYZER_FRONTEND_CHECKERREGISTRATION_H
11 #define LLVM_CLANG_STATICANALYZER_FRONTEND_CHECKERREGISTRATION_H
12 
13 #include "clang/Basic/LLVM.h"
14 #include <memory>
15 #include <string>
16 
17 namespace clang {
18   class AnalyzerOptions;
19   class LangOptions;
20   class DiagnosticsEngine;
21 
22 namespace ento {
23   class CheckerManager;
24 
25   std::unique_ptr<CheckerManager>
26   createCheckerManager(AnalyzerOptions &opts, const LangOptions &langOpts,
27                        ArrayRef<std::string> plugins, DiagnosticsEngine &diags);
28 
29 } // end ento namespace
30 
31 } // end namespace clang
32 
33 #endif
34