Searched refs:FormatAdapter (Results 1 – 6 of 6) sorted by relevance
19 template <typename T> class FormatAdapter : public detail::format_adapter {21 explicit FormatAdapter(T &&Item) : Item(std::forward<T>(Item)) {} in FormatAdapter() function27 template <typename T> class AlignAdapter final : public FormatAdapter<T> {34 : FormatAdapter<T>(std::forward<T>(Item)), Where(Where), Amount(Amount), in AlignAdapter()43 template <typename T> class PadAdapter final : public FormatAdapter<T> {49 : FormatAdapter<T>(std::forward<T>(Item)), Left(Left), Right(Right) {} in PadAdapter()59 template <typename T> class RepeatAdapter final : public FormatAdapter<T> {64 : FormatAdapter<T>(std::forward<T>(Item)), Count(Count) {} in RepeatAdapter()74 class ErrorAdapter : public FormatAdapter<Error> {76 ErrorAdapter(Error &&Item) : FormatAdapter(std::move(Item)) {} in ErrorAdapter()
21 : FormatAdapter(makeArrayRef(Guid.bytes_begin(), Guid.bytes_end())) {} in GuidAdapter()24 : FormatAdapter(std::move(Guid)) {} in GuidAdapter()
117 : public FormatAdapter<support::detail::packed_endian_specific_integral<124 : FormatAdapter<EndianType>(std::move(Item)) {} in EndianAdapter()
27 class GuidAdapter final : public FormatAdapter<ArrayRef<uint8_t>> {
112 struct format_xray_record : public FormatAdapter<XRayRecord> {115 : FormatAdapter<XRayRecord>(std::move(record)), Converter(&conv) {} in format_xray_record()
340 2. Provide a **format adapter** inheriting from ``llvm::FormatAdapter<T>``.345 struct format_int_custom : public llvm::FormatAdapter<int> {346 explicit format_int_custom(int N) : llvm::FormatAdapter<int>(N) {}358 If the type is detected to be derived from ``FormatAdapter<T>``, ``formatv``