xref: /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/InterCheckerAPI.h (revision e038c9c4676b0f19b1b7dd08a940c6ed64a6d5ae)
17330f729Sjoerg //==--- InterCheckerAPI.h ---------------------------------------*- C++ -*-==//
27330f729Sjoerg //
37330f729Sjoerg // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
47330f729Sjoerg // See https://llvm.org/LICENSE.txt for license information.
57330f729Sjoerg // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
67330f729Sjoerg //
77330f729Sjoerg //===----------------------------------------------------------------------===//
87330f729Sjoerg // This file allows introduction of checker dependencies. It contains APIs for
97330f729Sjoerg // inter-checker communications.
107330f729Sjoerg //===----------------------------------------------------------------------===//
117330f729Sjoerg 
127330f729Sjoerg #ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H
137330f729Sjoerg #define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H
147330f729Sjoerg 
15*e038c9c4Sjoerg // FIXME: This file goes against how a checker should be implemented either in
16*e038c9c4Sjoerg // a single file, or be exposed in a header file. Let's try to get rid of it!
17*e038c9c4Sjoerg 
18*e038c9c4Sjoerg namespace clang {
197330f729Sjoerg namespace ento {
207330f729Sjoerg 
21*e038c9c4Sjoerg class CheckerManager;
22*e038c9c4Sjoerg 
237330f729Sjoerg /// Register the part of MallocChecker connected to InnerPointerChecker.
247330f729Sjoerg void registerInnerPointerCheckerAux(CheckerManager &Mgr);
257330f729Sjoerg 
26*e038c9c4Sjoerg } // namespace ento
27*e038c9c4Sjoerg } // namespace clang
28*e038c9c4Sjoerg 
297330f729Sjoerg #endif /* INTERCHECKERAPI_H_ */
30