MLIR 22.0.0git
ODSSupport.cpp File Reference

Go to the source code of this file.

Functions

template<typename DenseArrayTy, typename T>
static LogicalResult convertDenseArrayFromAttr (MutableArrayRef< T > storage, Attribute attr, function_ref< InFlightDiagnostic()> emitError, StringRef denseArrayTyStr)
template<typename DenseArrayTy, typename T>
static LogicalResult convertDenseArrayFromAttr (SmallVectorImpl< T > &storage, Attribute attr, function_ref< InFlightDiagnostic()> emitError, StringRef denseArrayTyStr)

Function Documentation

◆ convertDenseArrayFromAttr() [1/2]

template<typename DenseArrayTy, typename T>
LogicalResult convertDenseArrayFromAttr ( MutableArrayRef< T > storage,
Attribute attr,
function_ref< InFlightDiagnostic()> emitError,
StringRef denseArrayTyStr )
static

◆ convertDenseArrayFromAttr() [2/2]

template<typename DenseArrayTy, typename T>
LogicalResult convertDenseArrayFromAttr ( SmallVectorImpl< T > & storage,
Attribute attr,
function_ref< InFlightDiagnostic()> emitError,
StringRef denseArrayTyStr )
static

Definition at line 147 of file ODSSupport.cpp.

References mlir::emitError(), and success().