clang API Documentation

CheckerRegistration.h
Go to the documentation of this file.
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_SA_FRONTEND_CHECKERREGISTRATION_H
00011 #define LLVM_CLANG_SA_FRONTEND_CHECKERREGISTRATION_H
00012 
00013 #include "clang/Basic/LLVM.h"
00014 #include <string>
00015 
00016 namespace clang {
00017   class AnalyzerOptions;
00018   class LangOptions;
00019   class DiagnosticsEngine;
00020 
00021 namespace ento {
00022   class CheckerManager;
00023 
00024 CheckerManager *createCheckerManager(const AnalyzerOptions &opts,
00025                                      const LangOptions &langOpts,
00026                                      ArrayRef<std::string> plugins,
00027                                      DiagnosticsEngine &diags);
00028 
00029 } // end ento namespace
00030 
00031 } // end namespace clang
00032 
00033 #endif