MLIR  20.0.0git
Functions
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. More...
 
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.

Referenced by mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT, 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.