Home
last modified time | relevance | path

Searched refs:FormatAdapter (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DFormatAdapters.h19 template <typename T> class FormatAdapter : public detail::format_adapter {
21 explicit FormatAdapter(T &&Item) : Item(std::forward<T>(Item)) {} in FormatAdapter() function
27 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DFormatters.cpp21 : FormatAdapter(makeArrayRef(Guid.bytes_begin(), Guid.bytes_end())) {} in GuidAdapter()
24 : FormatAdapter(std::move(Guid)) {} in GuidAdapter()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DFormatUtil.h117 : public FormatAdapter<support::detail::packed_endian_specific_integral<
124 : FormatAdapter<EndianType>(std::move(Item)) {} in EndianAdapter()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DFormatters.h27 class GuidAdapter final : public FormatAdapter<ArrayRef<uint8_t>> {
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-xray/
H A Dxray-stacks.cpp112 struct format_xray_record : public FormatAdapter<XRayRecord> {
115 : FormatAdapter<XRayRecord>(std::move(record)), Converter(&conv) {} in format_xray_record()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DProgrammersManual.rst340 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``