AnalysisConsumer.h revision 218893
11573Srgrimes//===--- AnalysisConsumer.h - Front-end Analysis Engine Hooks ---*- C++ -*-===// 21573Srgrimes// 31573Srgrimes// The LLVM Compiler Infrastructure 41573Srgrimes// 51573Srgrimes// This file is distributed under the University of Illinois Open Source 61573Srgrimes// License. See LICENSE.TXT for details. 71573Srgrimes// 81573Srgrimes//===----------------------------------------------------------------------===// 91573Srgrimes// 101573Srgrimes// This header contains the functions necessary for a front-end to run various 111573Srgrimes// analyses. 121573Srgrimes// 131573Srgrimes//===----------------------------------------------------------------------===// 141573Srgrimes 151573Srgrimes#ifndef LLVM_CLANG_GR_ANALYSISCONSUMER_H 161573Srgrimes#define LLVM_CLANG_GR_ANALYSISCONSUMER_H 171573Srgrimes 181573Srgrimes#include <string> 191573Srgrimes 201573Srgrimesnamespace clang { 211573Srgrimes 221573Srgrimesclass AnalyzerOptions; 231573Srgrimesclass ASTConsumer; 241573Srgrimesclass Preprocessor; 251573Srgrimesclass Diagnostic; 261573Srgrimes 271573Srgrimesnamespace ento { 281573Srgrimesclass CheckerManager; 291573Srgrimes 301573Srgrimes/// CreateAnalysisConsumer - Creates an ASTConsumer to run various code 311573Srgrimes/// analysis passes. (The set of analyses run is controlled by command-line 321573Srgrimes/// options.) 331573SrgrimesASTConsumer* CreateAnalysisConsumer(const Preprocessor &pp, 341573Srgrimes const std::string &output, 351573Srgrimes const AnalyzerOptions& Opts); 361573Srgrimes 371573Srgrimes} // end GR namespace 381573Srgrimes 391573Srgrimes} // end clang namespace 401573Srgrimes 411573Srgrimes#endif 421573Srgrimes