TextAPIWriter.h 930 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===--- TextAPIWriter.h - Text API Writer ----------------------*- 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_TEXTAPI_TEXTAPIWRITER_H
  14. #define LLVM_TEXTAPI_TEXTAPIWRITER_H
  15. namespace llvm {
  16. class Error;
  17. class raw_ostream;
  18. namespace MachO {
  19. class InterfaceFile;
  20. class TextAPIWriter {
  21. public:
  22. TextAPIWriter() = delete;
  23. static Error writeToStream(raw_ostream &os, const InterfaceFile &);
  24. };
  25. } // end namespace MachO.
  26. } // end namespace llvm.
  27. #endif // LLVM_TEXTAPI_TEXTAPIWRITER_H
  28. #ifdef __GNUC__
  29. #pragma GCC diagnostic pop
  30. #endif