clang API Documentation
00001 //===-- CheckerRegistration.h - Checker Registration Function ---*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #ifndef LLVM_CLANG_STATICANALYZER_FRONTEND_CHECKERREGISTRATION_H 00011 #define LLVM_CLANG_STATICANALYZER_FRONTEND_CHECKERREGISTRATION_H 00012 00013 #include "clang/Basic/LLVM.h" 00014 #include <memory> 00015 #include <string> 00016 00017 namespace clang { 00018 class AnalyzerOptions; 00019 class LangOptions; 00020 class DiagnosticsEngine; 00021 00022 namespace ento { 00023 class CheckerManager; 00024 00025 std::unique_ptr<CheckerManager> 00026 createCheckerManager(AnalyzerOptions &opts, const LangOptions &langOpts, 00027 ArrayRef<std::string> plugins, DiagnosticsEngine &diags); 00028 00029 } // end ento namespace 00030 00031 } // end namespace clang 00032 00033 #endif