#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/StaticAnalyzer/Frontend/CheckerRegistry.h"
usingnamespaceclang;
usingnamespaceento;
namespace {
class MainCallChecker : public Checker<check::PreStmt<CallExpr>> { … };
}
void MainCallChecker::checkPreStmt(const CallExpr *CE,
CheckerContext &C) const { … }
extern "C" void clang_registerCheckers(CheckerRegistry ®istry) { … }
extern "C" const char clang_analyzerAPIVersionString[] = …;