CIRCT
20.0.0git
|
Specialization of FIRRTLTypeSwitch for void returning callables. More...
#include <FIRRTLTypes.h>
Public Types | |
using | BaseT = llvm::detail::TypeSwitchBase< FIRRTLTypeSwitch< T, void >, T > |
Public Member Functions | |
FIRRTLTypeSwitch (FIRRTLTypeSwitch &&other)=default | |
template<typename CaseT , typename CallableT > | |
FIRRTLTypeSwitch< T, void > & | Case (CallableT &&caseFn) |
Add a case on the given type. More... | |
template<typename CallableT > | |
void | Default (CallableT &&defaultFn) |
As a default, invoke the given callable within the root value. More... | |
Private Attributes | |
bool | foundMatch = false |
A flag detailing if we have already found a match. More... | |
Specialization of FIRRTLTypeSwitch for void returning callables.
Definition at line 570 of file FIRRTLTypes.h.
using circt::firrtl::FIRRTLTypeSwitch< T, void >::BaseT = llvm::detail::TypeSwitchBase<FIRRTLTypeSwitch<T, void>, T> |
Definition at line 573 of file FIRRTLTypes.h.
|
default |
|
inline |
Add a case on the given type.
Definition at line 581 of file FIRRTLTypes.h.
|
inline |
As a default, invoke the given callable within the root value.
Definition at line 595 of file FIRRTLTypes.h.
|
private |
A flag detailing if we have already found a match.
Definition at line 602 of file FIRRTLTypes.h.