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

Method sanitize

src/ast/ast_typedecl.cpp:1617–1623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1615 }
1616
1617 void TypeDecl::sanitize ( ) {
1618 isExplicit = false;
1619 explicitConst = false;
1620 if ( firstType ) firstType->sanitize();
1621 if ( secondType ) secondType->sanitize();
1622 for ( auto & argT : argTypes ) argT->sanitize();
1623 }
1624
1625 bool isSameExactNullType ( const TypeDeclPtr & a, const TypeDeclPtr & b ) {
1626 if ( a && b ) {

Callers 7

visitStructureFieldMethod · 0.80
visitGlobalLetInitMethod · 0.80
visitMethod · 0.80
preVisitLetMethod · 0.80
visitLetInitMethod · 0.80
generateLambdaStructFunction · 0.80
inferReturnTypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected