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

Method GetNonCaptureState

IDEHelper/Compiler/BfModule.h:1218–1226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1216 }
1217
1218 BfMethodState* GetNonCaptureState()
1219 {
1220 //TODO: Why did this require mLocalMethod to not be null? That means lambda captures we're not crossed over
1221 auto checkMethodState = this;
1222 while ((checkMethodState->mPrevMethodState != NULL) && (checkMethodState->mClosureState != NULL) &&
1223 (checkMethodState->mClosureState->mCapturing) /*&& (checkMethodState->mClosureState->mLocalMethod != NULL)*/)
1224 checkMethodState = checkMethodState->mPrevMethodState;
1225 return checkMethodState;
1226 }
1227
1228 BfMethodState* GetMethodStateForLocal(BfLocalVariable* localVar);
1229

Callers 2

GetThisVariableMethod · 0.80
CheckModifyResultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected