14#ifndef LLVM_CLANG_STATICANALYZER_FRONTEND_ANALYSISCONSUMER_H
15#define LLVM_CLANG_STATICANALYZER_FRONTEND_ANALYSISCONSUMER_H
24class CompilerInstance;
27class PathDiagnosticConsumer;
51std::unique_ptr<AnalysisASTConsumer>
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
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.
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...
virtual void AddDiagnosticConsumer(PathDiagnosticConsumer *Consumer)=0
Manages a set of available checkers for running a static analysis.
std::unique_ptr< AnalysisASTConsumer > CreateAnalysisConsumer(CompilerInstance &CI)
CreateAnalysisConsumer - Creates an ASTConsumer to run various code analysis passes.
The JSON file list parser is used to communicate input to InstallAPI.