1//==--- InterCheckerAPI.h ---------------------------------------*- 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// This file allows introduction of checker dependencies. It contains APIs for
9// inter-checker communications.
10//===----------------------------------------------------------------------===//
11
12#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H
13#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H
14
15// FIXME: This file goes against how a checker should be implemented either in
16// a single file, or be exposed in a header file. Let's try to get rid of it!
17
18namespace clang {
19namespace ento {
20
21class CheckerManager;
22
23/// Register the part of MallocChecker connected to InnerPointerChecker.
24void registerInnerPointerCheckerAux(CheckerManager &Mgr);
25
26} // namespace ento
27} // namespace clang
28
29#endif /* INTERCHECKERAPI_H_ */
30