InterCheckerAPI.h 1.1 KB

1234567891011121314151617181920212223242526272829
  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. #ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H
  12. #define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H
  13. // FIXME: This file goes against how a checker should be implemented either in
  14. // a single file, or be exposed in a header file. Let's try to get rid of it!
  15. namespace clang {
  16. namespace ento {
  17. class CheckerManager;
  18. /// Register the part of MallocChecker connected to InnerPointerChecker.
  19. void registerInnerPointerCheckerAux(CheckerManager &Mgr);
  20. } // namespace ento
  21. } // namespace clang
  22. #endif /* INTERCHECKERAPI_H_ */