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/AST/ASTContext.h"
14 #include "clang/Basic/LLVM.h"
20 class AnalyzerOptions;
22 class DiagnosticsEngine;
26 class CheckerRegistry;
28 std::unique_ptr<CheckerManager> createCheckerManager(
30 AnalyzerOptions &opts,
31 ArrayRef<std::string> plugins,
32 ArrayRef<std::function<void(CheckerRegistry &)>> checkerRegistrationFns,
33 DiagnosticsEngine &diags);
35 } // end ento namespace
37 } // end namespace clang