1 //===-- CheckerRegistration.h - Checker Registration Function ---*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_STATICANALYZER_FRONTEND_CHECKERREGISTRATION_H
10 #define LLVM_CLANG_STATICANALYZER_FRONTEND_CHECKERREGISTRATION_H
12 #include "clang/AST/ASTContext.h"
13 #include "clang/Basic/LLVM.h"
19 class AnalyzerOptions;
21 class DiagnosticsEngine;
25 class CheckerRegistry;
27 std::unique_ptr<CheckerManager> createCheckerManager(
29 AnalyzerOptions &opts,
30 ArrayRef<std::string> plugins,
31 ArrayRef<std::function<void(CheckerRegistry &)>> checkerRegistrationFns,
32 DiagnosticsEngine &diags);
34 } // end ento namespace
36 } // end namespace clang