LLVM 19.0.0git
Public Member Functions | List of all members
llvm::detail::ErrorAdapter Class Reference

#include "llvm/Support/FormatAdapters.h"

Inheritance diagram for llvm::detail::ErrorAdapter:
Inheritance graph

Public Member Functions

 ErrorAdapter (Error &&Item)
 ErrorAdapter (ErrorAdapter &&)=default
 ~ErrorAdapter ()
void format (llvm::raw_ostream &Stream, StringRef Style) override
virtual void format (raw_ostream &S, StringRef Options)=0

Additional Inherited Members

- Protected Member Functions inherited from llvm::FormatAdapter< Error >
 FormatAdapter (Error &&Item)
- Protected Member Functions inherited from llvm::detail::format_adapter
virtual ~format_adapter ()=default
- Protected Attributes inherited from llvm::FormatAdapter< Error >
Error Item

Detailed Description

Definition at line 74 of file FormatAdapters.h.

Constructor & Destructor Documentation

◆ ErrorAdapter() [1/2]

llvm::detail::ErrorAdapter::ErrorAdapter ( Error &&  Item)

Definition at line 76 of file FormatAdapters.h.

◆ ErrorAdapter() [2/2]

llvm::detail::ErrorAdapter::ErrorAdapter ( ErrorAdapter &&  )

◆ ~ErrorAdapter()

llvm::detail::ErrorAdapter::~ErrorAdapter ( )

Definition at line 78 of file FormatAdapters.h.

References llvm::consumeError(), and llvm::FormatAdapter< Error >::Item.

Member Function Documentation

◆ format()

void llvm::detail::ErrorAdapter::format ( llvm::raw_ostream Stream,
StringRef  Style 

Implements llvm::detail::format_adapter.

Definition at line 79 of file FormatAdapters.h.

References llvm::FormatAdapter< Error >::Item.

The documentation for this class was generated from the following file: