[InstCombine] Signed saturation patterns
[llvm-core.git] / include / llvm / TextAPI / MachO / TextAPIReader.h
blobc551f0454e8ecc01e1d829da22f1de8a43985d64
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TEXTAPI_MACHO_READER_H
10 #define LLVM_TEXTAPI_MACHO_READER_H
12 #include "llvm/Support/Error.h"
13 #include "llvm/Support/MemoryBuffer.h"
15 namespace llvm {
16 namespace MachO {
18 class InterfaceFile;
20 class TextAPIReader {
21 public:
22 static Expected<std::unique_ptr<InterfaceFile>>
23 get(MemoryBufferRef InputBuffer);
25 TextAPIReader() = delete;
28 } // end namespace MachO.
29 } // end namespace llvm.
31 #endif // LLVM_TEXTAPI_MACHO_READER_H