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

Function reportChain

src/ast/ast_parse.cpp:1129–1137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1127 }
1128
1129 void reportChain ( TextWriter & tw, const vector<FileInfo *> & chain ) {
1130 bool first = true;
1131 for ( auto fi = chain.rbegin(); fi != chain.rend(); ++fi ) {
1132 if ( *fi ) {
1133 tw << "\t" << (first ? "from " : "required from ") << (*fi)->name << "\n";
1134 }
1135 first = false;
1136 }
1137 }
1138
1139 ProgramPtr reportPrerequisitesErrors (
1140 string fileName,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected