| 3024 | } |
| 3025 | |
| 3026 | int TypeDecl::getVariantAlignFailed(bool & failed) const { |
| 3027 | DAS_ASSERT(baseType==Type::tVariant); |
| 3028 | int align = getTypeBaseAlign(Type::tInt); |
| 3029 | for ( const auto & argT : argTypes ) { |
| 3030 | align = das::max ( argT->getAlignOfFailed(failed), align ); |
| 3031 | } |
| 3032 | return align; |
| 3033 | } |
| 3034 | |
| 3035 | int TypeDecl::getVectorFieldOffset ( int index ) const { |
| 3036 | DAS_ASSERT(index>=0 && index<=3); |
nothing calls this directly
no test coverage detected