Implicitly expand argument packs when performing template argument
[clang.git] / include / clang / Checker / AnalysisConsumer.h
blobc236766f0ac9dc88c89a949dabd1d96fbe4432d7
1 //===--- AnalysisConsumer.h - Front-end Analysis Engine Hooks ---*- 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 // This header contains the functions necessary for a front-end to run various
11 // analyses.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_CLANG_CHECKER_ANALYSISCONSUMER_H
16 #define LLVM_CLANG_CHECKER_ANALYSISCONSUMER_H
18 #include <string>
20 namespace clang {
22 class AnalyzerOptions;
23 class ASTConsumer;
24 class Preprocessor;
26 /// CreateAnalysisConsumer - Creates an ASTConsumer to run various code
27 /// analysis passes. (The set of analyses run is controlled by command-line
28 /// options.)
29 ASTConsumer* CreateAnalysisConsumer(const Preprocessor &pp,
30 const std::string &output,
31 const AnalyzerOptions& Opts);
35 #endif