1 //===-- CheckerRegistration.h - Checker Registration Function ---*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_CLANG_STATICANALYZER_FRONTEND_CHECKERREGISTRATION_H
11 #define LLVM_CLANG_STATICANALYZER_FRONTEND_CHECKERREGISTRATION_H
13 #include "clang/Basic/LLVM.h"
19 class AnalyzerOptions;
21 class DiagnosticsEngine;
25 class CheckerRegistry;
27 std::unique_ptr<CheckerManager> createCheckerManager(
28 AnalyzerOptions &opts, const LangOptions &langOpts,
29 ArrayRef<std::string> plugins,
30 ArrayRef<std::function<void(CheckerRegistry &)>> checkerRegistrationFns,
31 DiagnosticsEngine &diags);
33 } // end ento namespace
35 } // end namespace clang