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

Method AddStr

IDEHelper/Compiler/BfMangler.cpp:1145–1155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1143}
1144
1145void BfMSMangler::AddStr(MangleContext& mangleContext, StringImpl& name, const StringImpl& str)
1146{
1147 if ((int)mangleContext.mSubstituteList.size() < 10)
1148 {
1149 // Add NULL entry... shouldn't match anything
1150 mangleContext.mSubstituteList.push_back(NameSubstitute(NameSubstitute::Kind_None, NULL));
1151 }
1152
1153 name += str;
1154 name += '@';
1155}
1156
1157void BfMSMangler::AddSubIdx(StringImpl& name, int strIdx)
1158{

Callers 2

ReportMemoryMethod · 0.45
ReportMemoryMethod · 0.45

Calls 3

NameSubstituteClass · 0.85
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected