clang
3.7.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
work
release_test
rc4
llvm.src
tools
clang
include
clang
StaticAnalyzer
Frontend
AnalysisConsumer.h
Go to the documentation of this file.
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.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_CLANG_STATICANALYZER_FRONTEND_ANALYSISCONSUMER_H
16
#define LLVM_CLANG_STATICANALYZER_FRONTEND_ANALYSISCONSUMER_H
17
18
#include "
clang/AST/ASTConsumer.h
"
19
#include "
clang/Basic/LLVM.h
"
20
#include "
clang/StaticAnalyzer/Core/AnalyzerOptions.h
"
21
#include "
clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
"
22
#include <string>
23
24
namespace
clang {
25
26
class
Preprocessor;
27
class
DiagnosticsEngine;
28
class
CodeInjector;
29
class
CompilerInstance;
30
31
namespace
ento {
32
class
CheckerManager;
33
34
class
AnalysisASTConsumer
:
public
ASTConsumer
{
35
public
:
36
virtual
void
AddDiagnosticConsumer
(
PathDiagnosticConsumer
*Consumer) = 0;
37
};
38
39
/// CreateAnalysisConsumer - Creates an ASTConsumer to run various code
40
/// analysis passes. (The set of analyses run is controlled by command-line
41
/// options.)
42
std::unique_ptr<AnalysisASTConsumer>
43
CreateAnalysisConsumer
(
CompilerInstance
&CI);
44
45
}
// end GR namespace
46
47
}
// end clang namespace
48
49
#endif
clang::ento::AnalysisASTConsumer::AddDiagnosticConsumer
virtual void AddDiagnosticConsumer(PathDiagnosticConsumer *Consumer)=0
clang::ASTConsumer
Definition:
ASTConsumer.h:36
AnalyzerOptions.h
LLVM.h
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
PathDiagnostic.h
ASTConsumer.h
clang::CompilerInstance
Definition:
CompilerInstance.h:71
clang::ento::PathDiagnosticConsumer
Definition:
PathDiagnostic.h:55
clang::ento::CreateAnalysisConsumer
std::unique_ptr< AnalysisASTConsumer > CreateAnalysisConsumer(CompilerInstance &CI)
Definition:
AnalysisConsumer.cpp:699
clang::ento::AnalysisASTConsumer
Definition:
AnalysisConsumer.h:34
Generated on Mon Aug 31 2015 10:45:06 for clang by
1.8.6