blob: 3a2f3b94371443859e2afa2ad4766ddc0153fbbd [file] [log] [blame]
Ted Kremenekf4381fd2008-07-02 00:03:09 +00001//===--- AnalysisConsumer.cpp - ASTConsumer for running Analyses ----------===//
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// "Meta" ASTConsumer for running different source analyses.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef DRIVER_ANALYSISCONSUMER_H
15#define DRIVER_ANALYSISCONSUMER_H
16
17namespace clang {
18
19enum Analyses {
20 WarnDeadStores,
21 WarnUninitVals
22};
23
24ASTConsumer* CreateAnalysisConsumer(Analyses* Beg, Analyses* End,
25 Diagnostic &diags, Preprocessor* pp,
26 PreprocessorFactory* ppf,
27 const LangOptions& lopts,
28 const std::string& fname,
29 const std::string& htmldir,
30 bool visualize, bool trim,
31 bool analyzeAll);
32} // end clang namespace
33
34#endif