MCPcopy Create free account
hub / github.com/beefytech/Beef / SetSource

Method SetSource

IDEHelper/Compiler/BfSystem.cpp:1182–1194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1180}
1181
1182void BfErrorBase::SetSource(BfPassInstance* passInstance, BfSourceData* source)
1183{
1184 mSource = source;
1185
1186 if (mSource != NULL)
1187 {
1188 auto parserData = mSource->ToParserData();
1189 if (parserData != NULL)
1190 {
1191 passInstance->mSourceFileNameMap.TryAdd(mSource, parserData->mFileName);
1192 }
1193 }
1194}
1195
1196//////////////////////////////////////////////////////////////////////////
1197

Callers 6

FailAtMethod · 0.45
FailAfterAtMethod · 0.45
DeferFailMethod · 0.45
WarnAtMethod · 0.45
WarnAfterAtMethod · 0.45
MoreInfoAtMethod · 0.45

Calls 2

ToParserDataMethod · 0.45
TryAddMethod · 0.45

Tested by

no test coverage detected