30 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8// This file allows introduction of checker dependencies. It contains APIs for9// inter-checker communications.10//===----------------------------------------------------------------------===//11 12#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H13#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H14 15// FIXME: This file goes against how a checker should be implemented either in16// 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 ento27} // namespace clang28 29#endif /* INTERCHECKERAPI_H_ */30