LLVM
20.0.0git
lib
TextAPI
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/TextAPI/FileTypes.h
"
17
#include <string>
18
19
namespace
llvm
{
20
namespace
MachO {
21
22
struct
TextAPIContext
{
23
std::string
ErrorMessage
;
24
std::string
Path
;
25
FileType
FileKind
;
26
};
27
28
}
// end namespace MachO.
29
}
// end namespace llvm.
30
31
#endif
// LLVM_TEXTAPI_MACHO_CONTEXT_H
FileTypes.h
llvm::MachO::FileType
FileType
Defines the file type TextAPI files can represent.
Definition:
FileTypes.h:15
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::MachO::TextAPIContext
Definition:
TextAPIContext.h:22
llvm::MachO::TextAPIContext::FileKind
FileType FileKind
Definition:
TextAPIContext.h:25
llvm::MachO::TextAPIContext::ErrorMessage
std::string ErrorMessage
Definition:
TextAPIContext.h:23
llvm::MachO::TextAPIContext::Path
std::string Path
Definition:
TextAPIContext.h:24
Generated on Fri Oct 4 2024 19:27:38 for LLVM by
1.9.6