blob: 217d1f5400ee82ea64d03266b80fe25c6719a0d6 [file] [log] [blame]
Juergen Ributzka32cb5942019-03-22 22:46:52 +00001//===- TextAPIContext.h ---------------------------------------------------===//
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// Defines the YAML Context for the TextAPI Reader/Writer.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_TEXTAPI_MACHO_CONTEXT_H
14#define LLVM_TEXTAPI_MACHO_CONTEXT_H
15
Juergen Ributzka32cb5942019-03-22 22:46:52 +000016#include <string>
17
18namespace llvm {
19namespace MachO {
20
21enum FileType : unsigned;
22
23struct TextAPIContext {
24 std::string ErrorMessage;
25 std::string Path;
26 FileType FileKind;
27};
28
29} // end namespace MachO.
30} // end namespace llvm.
31
32#endif // LLVM_TEXTAPI_MACHO_CONTEXT_H