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

Method FindOrCreateNameSub

IDEHelper/Compiler/BfMangler.cpp:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void BfGNUMangler::FindOrCreateNameSub(MangleContext& mangleContext, StringImpl& name, const NameSubstitute& newNameSub)
144{
145 int curMatchIdx = -1;
146 bool matchFailed = false;
147 FindOrCreateNameSub(mangleContext, name, newNameSub, curMatchIdx, matchFailed);
148 if (!matchFailed)
149 AddSubIdx(name, curMatchIdx);
150}
151
152void BfGNUMangler::FindOrCreateNameSub(MangleContext& mangleContext, StringImpl& name, const NameSubstitute& newNameSub, int& curMatchIdx, bool& matchFailed)
153{

Callers

nothing calls this directly

Calls 15

NameSubstituteClass · 0.85
GetOuterTypeMethod · 0.80
GetFieldDefMethod · 0.80
itoaFunction · 0.50
sizeMethod · 0.45
IsClosureMethod · 0.45
IsGenericTypeInstanceMethod · 0.45
push_backMethod · 0.45
backMethod · 0.45
IsGlobalsContainerMethod · 0.45
FailMethod · 0.45

Tested by

no test coverage detected