AnalyzerHelpFlags.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===-- AnalyzerHelpFlags.h - Query functions for --help flags --*- C++ -*-===//
  7. //
  8. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  9. // See https://llvm.org/LICENSE.txt for license information.
  10. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  11. //
  12. //===----------------------------------------------------------------------===//
  13. #ifndef LLVM_CLANG_STATICANALYZER_FRONTEND_ANALYZERHELPFLAGS_H
  14. #define LLVM_CLANG_STATICANALYZER_FRONTEND_ANALYZERHELPFLAGS_H
  15. namespace llvm {
  16. class raw_ostream;
  17. } // namespace llvm
  18. namespace clang {
  19. class CompilerInstance;
  20. namespace ento {
  21. void printCheckerHelp(llvm::raw_ostream &OS, CompilerInstance &CI);
  22. void printEnabledCheckerList(llvm::raw_ostream &OS, CompilerInstance &CI);
  23. void printAnalyzerConfigList(llvm::raw_ostream &OS);
  24. void printCheckerConfigList(llvm::raw_ostream &OS, CompilerInstance &CI);
  25. } // namespace ento
  26. } // namespace clang
  27. #endif
  28. #ifdef __GNUC__
  29. #pragma GCC diagnostic pop
  30. #endif