Go to the documentation of this file.
14 #ifndef LLVM_CLANG_STATICANALYZER_FRONTEND_ANALYSISCONSUMER_H
15 #define LLVM_CLANG_STATICANALYZER_FRONTEND_ANALYSISCONSUMER_H
25 class DiagnosticsEngine;
27 class CompilerInstance;
30 class PathDiagnosticConsumer;
32 class CheckerRegistry;
55 std::unique_ptr<AnalysisASTConsumer>
virtual void AddDiagnosticConsumer(PathDiagnosticConsumer *Consumer)=0
virtual void AddCheckerRegistrationFn(std::function< void(CheckerRegistry &)> Fn)=0
This method allows registering statically linked custom checkers that are not a part of the Clang tre...
ASTConsumer - This is an abstract interface that should be implemented by clients that read ASTs.
CompilerInstance - Helper class for managing a single instance of the Clang compiler.
std::unique_ptr< AnalysisASTConsumer > CreateAnalysisConsumer(CompilerInstance &CI)
CreateAnalysisConsumer - Creates an ASTConsumer to run various code analysis passes.
Dataflow Directional Tag Classes.
Manages a set of available checkers for running a static analysis.