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

Method getAlignOfFailed

src/ast/ast.cpp:523–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521 }
522
523 int Structure::getAlignOfFailed(bool & failed) const {
524 if ( circularGuard ) return 1;
525 circularGuard = true;
526 int align = 1;
527 for ( const auto & fd : fields ) {
528 align = das::max ( fd.type->getAlignOfFailed(failed), align );
529 }
530 circularGuard = false;
531 return align;
532 }
533
534 Structure::FieldDeclarationRef Structure::findFieldRef ( const string & fieldName ) const {
535 auto pField = findField(fieldName);

Callers 2

visitMethod · 0.45
getSizeOf64Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected