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

#include "llvm/Support/FormatAdapters.h"

Inheritance diagram for llvm::support::detail::ErrorAdapter:
Inheritance graph
[legend]

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::support::detail::format_adapter
virtual ~format_adapter ()=default
 
- Protected Attributes inherited from llvm::FormatAdapter< Error >
Error Item
 

Detailed Description

Definition at line 76 of file FormatAdapters.h.

Constructor & Destructor Documentation

◆ ErrorAdapter() [1/2]

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

Definition at line 78 of file FormatAdapters.h.

◆ ErrorAdapter() [2/2]

llvm::support::detail::ErrorAdapter::ErrorAdapter ( ErrorAdapter &&  )
default

◆ ~ErrorAdapter()

llvm::support::detail::ErrorAdapter::~ErrorAdapter ( )
inline

Definition at line 80 of file FormatAdapters.h.

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

Member Function Documentation

◆ format()

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

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