MLIR 22.0.0git
mlir::detail::storage_user_base_impl Namespace Reference

Functions

template<template< typename T > class... Traits>
bool hasTrait (TypeID traitID)
 Returns true if this given Trait ID matches the IDs of any of the provided trait types Traits.
template<>
bool hasTrait (TypeID traitID)

Function Documentation

◆ hasTrait() [1/2]

template<template< typename T > class... Traits>
bool mlir::detail::storage_user_base_impl::hasTrait ( TypeID traitID)

Returns true if this given Trait ID matches the IDs of any of the provided trait types Traits.

Definition at line 75 of file StorageUniquerSupport.h.

References mlir::TypeID::get().

Referenced by mlir::detail::StorageUserBase< ConcreteType, BaseType, StorageType, detail::AttributeUniquer, Traits... >::getHasTraitFn().

◆ hasTrait() [2/2]

template<>
bool mlir::detail::storage_user_base_impl::hasTrait ( TypeID traitID)
inline

Definition at line 85 of file StorageUniquerSupport.h.