LLVM
10.0.0
lib
TextAPI
MachO
TextAPIContext.h
Go to the documentation of this file.
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.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_TEXTAPI_MACHO_CONTEXT_H
14
#define LLVM_TEXTAPI_MACHO_CONTEXT_H
15
16
#include "
llvm/Support/MemoryBuffer.h
"
17
#include <string>
18
19
namespace
llvm
{
20
namespace
MachO {
21
22
enum
FileType
:
unsigned
;
23
24
struct
TextAPIContext
{
25
std::string
ErrorMessage
;
26
std::string
Path
;
27
FileType
FileKind
;
28
};
29
30
}
// end namespace MachO.
31
}
// end namespace llvm.
32
33
#endif // LLVM_TEXTAPI_MACHO_CONTEXT_H
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:23
unsigned
llvm::MachO::TextAPIContext::FileKind
FileType FileKind
Definition:
TextAPIContext.h:27
llvm::MachO::TextAPIContext::ErrorMessage
std::string ErrorMessage
Definition:
TextAPIContext.h:25
llvm::MachO::FileType
FileType
Defines the file type this file represents.
Definition:
InterfaceFile.h:57
llvm::MachO::TextAPIContext::Path
std::string Path
Definition:
TextAPIContext.h:26
MemoryBuffer.h
llvm::MachO::TextAPIContext
Definition:
TextAPIContext.h:24
Generated on Tue Mar 24 2020 13:13:20 for LLVM by
1.8.13