10struct Dependency :
public Checker<check::BeginFunction> {
13struct DependendentChecker :
public Checker<check::BeginFunction> {
20 registry.
addChecker<Dependency>(
"example.Dependency",
"",
"");
21 registry.
addChecker<DependendentChecker>(
"example.DependendentChecker",
"",
24 registry.
addDependency(
"example.DependendentChecker",
"example.Dependency");
void clang_registerCheckers(CheckerRegistry ®istry)
const char clang_analyzerAPIVersionString[]
#define CLANG_ANALYZER_API_VERSION_STRING
Manages a set of available checkers for running a static analysis.
void addChecker(RegisterCheckerFn Fn, ShouldRegisterFunction sfn, StringRef FullName, StringRef Desc, StringRef DocsUri, bool IsHidden)
Adds a checker to the registry.
void addDependency(StringRef FullName, StringRef Dependency)
Makes the checker with the full name fullName depend on the checker called dependency.
The JSON file list parser is used to communicate input to InstallAPI.