MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / getVariantAlign

Function getVariantAlign

src/simulate/debug_info.cpp:266–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 }
265
266 static int getVariantAlign ( TypeInfo * info ) {
267 int al = getTypeBaseAlign(Type::tInt);
268 for ( uint32_t i=0, is=info->argCount; i!=is; ++i ) {
269 al = das::max ( al, getTypeAlign(info->argTypes[i]) );
270 }
271 return al;
272 }
273
274 static int getVariantSize ( TypeInfo * info ) {
275 int maxSize = 0;

Callers 6

getVariantSizeFunction · 0.85
getVariantFieldOffsetFunction · 0.85
getTypeBaseAlignFunction · 0.85
getVariantFieldOffsetMethod · 0.85
getVariantSize64Method · 0.85
getAlignOfMethod · 0.85

Calls 2

getTypeBaseAlignFunction · 0.85
getTypeAlignFunction · 0.85

Tested by

no test coverage detected