Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csyonghe/Spire
/ ClearBuffer
Method
ClearBuffer
Source/SpireCore/SpirVCodeGen.cpp:1872–1878 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1870
}
1871
1872
void ClearBuffer()
1873
{
1874
StackVariableNameToStorageID.Clear();
1875
StackVariableNameToValueID.Clear();
1876
ParameterNameToID.Clear();
1877
ReturnID = -1;
1878
}
1879
1880
void PushScope()
1881
{
Callers
1
GenerateFunctionDefinition
Method · 0.80
Calls
1
Clear
Method · 0.45
Tested by
no test coverage detected