Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:37:06

0001 //===--- ClangSACheckers.h - Registration functions for Checkers *- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 // Declares the registation functions for the checkers defined in
0010 // libclangStaticAnalyzerCheckers.
0011 //
0012 //===----------------------------------------------------------------------===//
0013 
0014 #ifndef LLVM_CLANG_STATICANALYZER_CHECKERS_BUILTINCHECKERREGISTRATION_H
0015 #define LLVM_CLANG_STATICANALYZER_CHECKERS_BUILTINCHECKERREGISTRATION_H
0016 
0017 #include "clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h"
0018 
0019 namespace clang {
0020 namespace ento {
0021 
0022 class CheckerManager;
0023 
0024 #define GET_CHECKERS
0025 #define CHECKER(FULLNAME, CLASS, HELPTEXT, DOC_URI, IS_HIDDEN)                 \
0026   void register##CLASS(CheckerManager &mgr);                                   \
0027   bool shouldRegister##CLASS(const CheckerManager &mgr);
0028 #include "clang/StaticAnalyzer/Checkers/Checkers.inc"
0029 #undef CHECKER
0030 #undef GET_CHECKERS
0031 
0032 } // end ento namespace
0033 
0034 } // end clang namespace
0035 
0036 #endif