TextAPIContext.h 861 B

1234567891011121314151617181920212223242526272829303132
  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. #ifndef LLVM_TEXTAPI_MACHO_CONTEXT_H
  13. #define LLVM_TEXTAPI_MACHO_CONTEXT_H
  14. #include <string>
  15. namespace llvm {
  16. namespace MachO {
  17. enum FileType : unsigned;
  18. struct TextAPIContext {
  19. std::string ErrorMessage;
  20. std::string Path;
  21. FileType FileKind;
  22. };
  23. } // end namespace MachO.
  24. } // end namespace llvm.
  25. #endif // LLVM_TEXTAPI_MACHO_CONTEXT_H