|
CIRCT 23.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. | |
| template<typename CallableT > | |
| void | Default (CallableT &&defaultFn) |
| As a default, invoke the given callable within the root value. | |
Private Attributes | |
| bool | foundMatch = false |
| A flag detailing if we have already found a match. | |
Specialization of FIRRTLTypeSwitch for void returning callables.
Definition at line 567 of file FIRRTLTypes.h.
| using circt::firrtl::FIRRTLTypeSwitch< T, void >::BaseT = llvm::detail::TypeSwitchBase<FIRRTLTypeSwitch<T, void>, T> |
Definition at line 570 of file FIRRTLTypes.h.
|
default |
|
inline |
Add a case on the given type.
Definition at line 578 of file FIRRTLTypes.h.
|
inline |
As a default, invoke the given callable within the root value.
Definition at line 592 of file FIRRTLTypes.h.
|
private |
A flag detailing if we have already found a match.
Definition at line 599 of file FIRRTLTypes.h.