Recommit "[GVN] Preserve loop related analysis/canonical forms."
[llvm-core.git] / lib / TextAPI / MachO / TextAPIContext.h
blob3df40f09f7f7f5aba0fac19013d7f47026c7abd1
1 //===- 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.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_TEXTAPI_MACHO_CONTEXT_H
14 #define LLVM_TEXTAPI_MACHO_CONTEXT_H
16 #include "llvm/Support/MemoryBuffer.h"
17 #include <string>
19 namespace llvm {
20 namespace MachO {
22 enum FileType : unsigned;
24 struct TextAPIContext {
25 std::string ErrorMessage;
26 std::string Path;
27 FileType FileKind;
30 } // end namespace MachO.
31 } // end namespace llvm.
33 #endif // LLVM_TEXTAPI_MACHO_CONTEXT_H