clang 20.0.0git
BuiltinCheckerRegistration.h
Go to the documentation of this file.
1//===--- ClangSACheckers.h - Registration functions for Checkers *- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Declares the registation functions for the checkers defined in
10// libclangStaticAnalyzerCheckers.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_CLANG_STATICANALYZER_CHECKERS_BUILTINCHECKERREGISTRATION_H
15#define LLVM_CLANG_STATICANALYZER_CHECKERS_BUILTINCHECKERREGISTRATION_H
16
18
19namespace clang {
20namespace ento {
21
22class CheckerManager;
23
24#define GET_CHECKERS
25#define CHECKER(FULLNAME, CLASS, HELPTEXT, DOC_URI, IS_HIDDEN) \
26 void register##CLASS(CheckerManager &mgr); \
27 bool shouldRegister##CLASS(const CheckerManager &mgr);
28#include "clang/StaticAnalyzer/Checkers/Checkers.inc"
29#undef CHECKER
30#undef GET_CHECKERS
31
32} // end ento namespace
33
34} // end clang namespace
35
36#endif
The JSON file list parser is used to communicate input to InstallAPI.