MLIR
22.0.0git
|
InFlightRemark is a RAII class that holds a reference to a Remark instance and allows to build the remark using the << operator. More...
#include "mlir/IR/Remarks.h"
Public Member Functions | |
InFlightRemark (std::unique_ptr< Remark > diag) | |
InFlightRemark (RemarkEngine &eng, std::unique_ptr< Remark > diag) | |
InFlightRemark ()=default | |
InFlightRemark & | operator<< (const LazyTextBuild &l) |
template<typename T , typename = std::enable_if_t< !std::is_same_v<std::decay_t<T>, LazyTextBuild>>> | |
InFlightRemark & | operator<< (T &&arg) |
operator bool () const | |
~InFlightRemark () | |
InFlightRemark (const InFlightRemark &)=delete | |
InFlightRemark & | operator= (const InFlightRemark &)=delete |
InFlightRemark (InFlightRemark &&)=default | |
InFlightRemark & | operator= (InFlightRemark &&)=default |
InFlightRemark is a RAII class that holds a reference to a Remark instance and allows to build the remark using the << operator.
The remark is emitted when the InFlightRemark instance is destroyed, which happens when the scope ends or when the InFlightRemark instance is moved. Similar to InFlightDiagnostic, but for remarks.
|
inlineexplicit |
|
inline |
|
default |
InFlightRemark::~InFlightRemark | ( | ) |
Definition at line 158 of file Remarks.cpp.
|
delete |
|
default |
|
inlineexplicit |
|
inline |
Definition at line 291 of file Remarks.h.
References mlir::remark::detail::LazyTextBuild::key, and mlir::remark::detail::LazyTextBuild::thunk.
|
inline |
|
delete |
|
default |