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