MCPcopy Create free account
hub / github.com/WheretIB/nullc / ResetTreeGlobals

Function ResetTreeGlobals

NULLC/SyntaxTree.cpp:1933–1945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1931}
1932
1933void ResetTreeGlobals()
1934{
1935 currLoopDepth = 0;
1936
1937#ifdef NULLC_ENABLE_C_TRANSLATION
1938 ResetTranslationState();
1939#endif
1940
1941 NodeBreakOp::fixQueue.clear();
1942 NodeContinueOp::fixQueue.clear();
1943 NodeFuncCall::memoList.clear();
1944 NodeFuncCall::memoPool.Clear();
1945}

Callers 1

CallbackInitializeFunction · 0.85

Calls 3

ResetTranslationStateFunction · 0.85
clearMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected