Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 14 | pmbaty | 1 | //===--- TextAPIReader.h - Text API Reader ----------------------*- 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_TEXTAPIREADER_H |
||
| 10 | #define LLVM_TEXTAPI_TEXTAPIREADER_H |
||
| 11 | |||
| 12 | #include "llvm/Support/Error.h" |
||
| 13 | |||
| 14 | namespace llvm { |
||
| 15 | |||
| 16 | class MemoryBufferRef; |
||
| 17 | |||
| 18 | namespace MachO { |
||
| 19 | |||
| 20 | class InterfaceFile; |
||
| 21 | |||
| 22 | class TextAPIReader { |
||
| 23 | public: |
||
| 24 | static Expected<std::unique_ptr<InterfaceFile>> |
||
| 25 | get(MemoryBufferRef InputBuffer); |
||
| 26 | |||
| 27 | TextAPIReader() = delete; |
||
| 28 | }; |
||
| 29 | |||
| 30 | } // end namespace MachO. |
||
| 31 | } // end namespace llvm. |
||
| 32 | |||
| 33 | #endif // LLVM_TEXTAPI_TEXTAPIREADER_H |