#ifndef LLVM_DEBUGINFO_CODEVIEW_FORMATTERS_H
#define LLVM_DEBUGINFO_CODEVIEW_FORMATTERS_H
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/DebugInfo/CodeView/GUID.h"
#include "llvm/DebugInfo/CodeView/TypeIndex.h"
#include "llvm/Support/FormatAdapters.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
namespace llvm {
namespace codeview {
struct GUID;
namespace detail {
class GuidAdapter final : public FormatAdapter<ArrayRef<uint8_t>> { … };
}
inline detail::GuidAdapter fmt_guid(StringRef Item) { … }
inline detail::GuidAdapter fmt_guid(ArrayRef<uint8_t> Item) { … }
}
template <> struct format_provider<codeview::TypeIndex> { … };
template <> struct format_provider<codeview::GUID> { … };
}
#endif