Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 1 | //===--- TextAPIWriter.h - Text API Writer ----------------------*- 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 | |
| 9 | #ifndef LLVM_TEXTAPI_MACHO_WRITER_H |
| 10 | #define LLVM_TEXTAPI_MACHO_WRITER_H |
| 11 | |
Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 12 | namespace llvm { |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 13 | |
| 14 | class Error; |
| 15 | class raw_ostream; |
| 16 | |
Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 17 | namespace MachO { |
| 18 | |
| 19 | class InterfaceFile; |
| 20 | |
| 21 | class TextAPIWriter { |
| 22 | public: |
| 23 | TextAPIWriter() = delete; |
| 24 | |
| 25 | static Error writeToStream(raw_ostream &os, const InterfaceFile &); |
| 26 | }; |
| 27 | |
| 28 | } // end namespace MachO. |
| 29 | } // end namespace llvm. |
| 30 | |
| 31 | #endif // LLVM_TEXTAPI_MACHO_WRITER_H |