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 | |
| 12 | #include "llvm/Support/MemoryBuffer.h" |
| 13 | |
| 14 | namespace llvm { |
| 15 | namespace MachO { |
| 16 | |
| 17 | class InterfaceFile; |
| 18 | |
| 19 | class TextAPIWriter { |
| 20 | public: |
| 21 | TextAPIWriter() = delete; |
| 22 | |
| 23 | static Error writeToStream(raw_ostream &os, const InterfaceFile &); |
| 24 | }; |
| 25 | |
| 26 | } // end namespace MachO. |
| 27 | } // end namespace llvm. |
| 28 | |
| 29 | #endif // LLVM_TEXTAPI_MACHO_WRITER_H |