diff options
Diffstat (limited to 'llvm/lib/TextAPI/MachO/TextAPIContext.h')
-rw-r--r-- | llvm/lib/TextAPI/MachO/TextAPIContext.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/llvm/lib/TextAPI/MachO/TextAPIContext.h b/llvm/lib/TextAPI/MachO/TextAPIContext.h new file mode 100644 index 00000000000..622facfaac5 --- /dev/null +++ b/llvm/lib/TextAPI/MachO/TextAPIContext.h @@ -0,0 +1,35 @@ +//===- llvm/TextAPI/YAMLContext.h - YAML Context ----------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +/// +/// \file +/// \brief Defines the YAML Context for the TextAPI Reader/Writer +/// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_TEXTAPI_MACHO_CONTEXT_H +#define LLVM_TEXTAPI_MACHO_CONTEXT_H + +#include "llvm/Support/MemoryBuffer.h" +#include <string> + +namespace llvm { +namespace MachO { + +enum FileType : unsigned; + +struct TextAPIContext { + std::string ErrorMessage; + std::string Path; + FileType FileType; +}; + +} // end namespace MachO. +} // end namespace llvm. + +#endif // LLVM_TEXTAPI_MACHO_CONTEXT_H |