xref: /netbsd-src/external/apache2/llvm/dist/llvm/lib/TextAPI/TextAPIContext.h (revision 82d56013d7b633d116a93943de88e08335357a7c)
1*82d56013Sjoerg //===- TextAPIContext.h ---------------------------------------------------===//
2*82d56013Sjoerg //
3*82d56013Sjoerg // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*82d56013Sjoerg // See https://llvm.org/LICENSE.txt for license information.
5*82d56013Sjoerg // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*82d56013Sjoerg //
7*82d56013Sjoerg //===----------------------------------------------------------------------===//
8*82d56013Sjoerg //
9*82d56013Sjoerg // Defines the YAML Context for the TextAPI Reader/Writer.
10*82d56013Sjoerg //
11*82d56013Sjoerg //===----------------------------------------------------------------------===//
12*82d56013Sjoerg 
13*82d56013Sjoerg #ifndef LLVM_TEXTAPI_MACHO_CONTEXT_H
14*82d56013Sjoerg #define LLVM_TEXTAPI_MACHO_CONTEXT_H
15*82d56013Sjoerg 
16*82d56013Sjoerg #include <string>
17*82d56013Sjoerg 
18*82d56013Sjoerg namespace llvm {
19*82d56013Sjoerg namespace MachO {
20*82d56013Sjoerg 
21*82d56013Sjoerg enum FileType : unsigned;
22*82d56013Sjoerg 
23*82d56013Sjoerg struct TextAPIContext {
24*82d56013Sjoerg   std::string ErrorMessage;
25*82d56013Sjoerg   std::string Path;
26*82d56013Sjoerg   FileType FileKind;
27*82d56013Sjoerg };
28*82d56013Sjoerg 
29*82d56013Sjoerg } // end namespace MachO.
30*82d56013Sjoerg } // end namespace llvm.
31*82d56013Sjoerg 
32*82d56013Sjoerg #endif // LLVM_TEXTAPI_MACHO_CONTEXT_H
33