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

Function deleteVariableDeclarationList

src/parser/parser_impl.cpp:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 void deleteVariableDeclarationList ( vector<VariableDeclaration *> * list ) {
109 if ( !list ) return;
110 for ( auto pD : *list )
111 delete pD;
112 delete list;
113 }
114
115 void varDeclToTypeDecl ( yyscan_t scanner, TypeDecl * pType, vector<VariableDeclaration*> * list, bool needNames ) {
116 bool anyNames = false;

Callers 11

switchFunction · 0.85
yyparseFunction · 0.85
switchFunction · 0.85
yyparseFunction · 0.85
ast_structureDeclarationFunction · 0.85
ast_globalLetListFunction · 0.85
ast_makeBlockFunction · 0.85
ast_LetListFunction · 0.85
switchFunction · 0.85
yyparseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected